test/testwm.c
changeset 1779 67fc81efcfc3
parent 1769 290b5baf2fca
child 1895 c121d94672cb
child 4257 14195cfdb66e
     1.1 --- a/test/testwm.c	Mon May 08 05:17:10 2006 +0000
     1.2 +++ b/test/testwm.c	Mon May 08 05:30:15 2006 +0000
     1.3 @@ -180,10 +180,10 @@
     1.4  				event->active.gain ? "gained" : "lost");
     1.5  			if ( event->active.state & SDL_APPACTIVE )
     1.6  				printf("active ");
     1.7 +			if ( event->active.state & SDL_APPINPUTFOCUS )
     1.8 +				printf("input ");
     1.9  			if ( event->active.state & SDL_APPMOUSEFOCUS )
    1.10  				printf("mouse ");
    1.11 -			if ( event->active.state & SDL_APPINPUTFOCUS )
    1.12 -				printf("input ");
    1.13  			printf("focus\n");
    1.14  
    1.15  			/* See if we are iconified or restored */