mirror of
https://github.com/yawut/SDL.git
synced 2026-08-26 10:44:39 -05:00
Allow META-Enter to toggle fullscreen mode
This commit is contained in:
@@ -311,7 +311,7 @@ FilterEvents(void *userdata, SDL_Event * event)
|
||||
HotKey_Iconify();
|
||||
}
|
||||
if ((event->key.keysym.sym == SDLK_RETURN) &&
|
||||
(event->key.keysym.mod & KMOD_ALT)) {
|
||||
(event->key.keysym.mod & (KMOD_ALT|KMOD_META))) {
|
||||
HotKey_ToggleFullScreen();
|
||||
}
|
||||
return (0);
|
||||
|
||||
Reference in New Issue
Block a user