mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 07:52:57 -05:00
*** empty log message ***
This commit is contained in:
parent
5e03c9b2e1
commit
400541a661
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user