Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Allow META-Enter to toggle fullscreen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 2, 2011
1 parent 31ab2ca commit c9d0145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testwm.c
Expand Up @@ -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);
Expand Down

0 comments on commit c9d0145

Please sign in to comment.