diff options
-rw-r--r-- | backends/sdl/events.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/sdl/events.cpp b/backends/sdl/events.cpp index d1ed7503fd..e017b2dc77 100644 --- a/backends/sdl/events.cpp +++ b/backends/sdl/events.cpp @@ -190,8 +190,9 @@ bool OSystem_SDL::poll_event(Event *event) { #endif event->kbd.flags = b; - // Alt-Return toggles full screen mode - if (b == KBD_ALT && ev.key.keysym.sym == SDLK_RETURN) { + // Alt-Return and Alt-Enter toggle full screen mode + if (b == KBD_ALT && (ev.key.keysym.sym == SDLK_RETURN + || ev.key.keysym.sym == SDLK_KP_ENTER)) { setFullscreenMode(!_full_screen); #ifdef USE_OSD if (_full_screen) |