Allow META-Enter to toggle fullscreen mode
This commit is contained in:
parent
e082a3f57c
commit
34b38d2798
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ FilterEvents(void *userdata, SDL_Event * event)
|
||||||
HotKey_Iconify();
|
HotKey_Iconify();
|
||||||
}
|
}
|
||||||
if ((event->key.keysym.sym == SDLK_RETURN) &&
|
if ((event->key.keysym.sym == SDLK_RETURN) &&
|
||||||
(event->key.keysym.mod & KMOD_ALT)) {
|
(event->key.keysym.mod & (KMOD_ALT|KMOD_META))) {
|
||||||
HotKey_ToggleFullScreen();
|
HotKey_ToggleFullScreen();
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue