mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
Allow Alt-Enter to toggle fullscreen mode, just like Alt-Return, matching our README (see also bug #1001126)
svn-id: r14382
This commit is contained in:
parent
4f0f6abdd5
commit
76bfd1f929
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user