*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Sat, 22 Mar 2003 17:39:26 +0000
changeset 609a30b17e09cc0
parent 608 d0fecf67cd93
child 610 95433459fbd2
*** empty log message ***
test/testwm.c
     1.1 --- a/test/testwm.c	Sun Mar 09 21:38:18 2003 +0000
     1.2 +++ b/test/testwm.c	Sat Mar 22 17:39:26 2003 +0000
     1.3 @@ -93,7 +93,7 @@
     1.4  	} else {
     1.5  		printf("Grab was off\n");
     1.6  	}
     1.7 -	mode = SDL_WM_GrabInput(!mode);
     1.8 +	mode = SDL_WM_GrabInput(mode ? SDL_GRAB_OFF : SDL_GRAB_ON);
     1.9  	if ( mode == SDL_GRAB_ON ) {
    1.10  		printf("Grab is now on\n");
    1.11  	} else {