Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Allow META-Enter to toggle fullscreen mode

  • Loading branch information
slouken committed Jan 2, 2011
1 parent 31ab2ca commit c9d0145d6868416f08390896aaa135396b555da2
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/testwm.c
@@ -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);

0 comments on commit c9d0145

Please sign in to comment.