Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
*** empty log message ***
  • Loading branch information
slouken committed Mar 22, 2003
1 parent cb4d0ff commit d5405cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testwm.c
Expand Up @@ -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 {
Expand Down

0 comments on commit d5405cd

Please sign in to comment.