Commit 34b38d27 authored by Sam Lantinga's avatar Sam Lantinga

Allow META-Enter to toggle fullscreen mode

parent e082a3f5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment