From d5405cd7d6d23057d8692df58d3b8c10219dabbb Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 22 Mar 2003 17:39:26 +0000 Subject: [PATCH] *** empty log message *** --- test/testwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testwm.c b/test/testwm.c index 4d55c3582..96bbe6995 100644 --- a/test/testwm.c +++ b/test/testwm.c @@ -93,7 +93,7 @@ void HotKey_ToggleGrab(void) } else { printf("Grab was off\n"); } - mode = SDL_WM_GrabInput(!mode); + mode = SDL_WM_GrabInput(mode ? SDL_GRAB_OFF : SDL_GRAB_ON); if ( mode == SDL_GRAB_ON ) { printf("Grab is now on\n"); } else {