diff test/testwm.c @ 1779:67fc81efcfc3

Made it easier to test some things on the framebuffer console
author Sam Lantinga <slouken@libsdl.org>
date Mon, 08 May 2006 05:30:15 +0000
parents 290b5baf2fca
children c121d94672cb 14195cfdb66e
line wrap: on
line diff
--- a/test/testwm.c	Mon May 08 05:17:10 2006 +0000
+++ b/test/testwm.c	Mon May 08 05:30:15 2006 +0000
@@ -180,10 +180,10 @@
 				event->active.gain ? "gained" : "lost");
 			if ( event->active.state & SDL_APPACTIVE )
 				printf("active ");
+			if ( event->active.state & SDL_APPINPUTFOCUS )
+				printf("input ");
 			if ( event->active.state & SDL_APPMOUSEFOCUS )
 				printf("mouse ");
-			if ( event->active.state & SDL_APPINPUTFOCUS )
-				printf("input ");
 			printf("focus\n");
 
 			/* See if we are iconified or restored */