mirror of
https://github.com/yawut/SDL.git
synced 2026-09-13 11:36:32 -05:00
*** empty log message ***
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user