Fixed full screen toggling via alt+enter.
svn-id: r34627
This commit is contained in:
parent
af3cbfc32e
commit
f8574c52f8
2 changed files with 11 additions and 10 deletions
|
@ -195,7 +195,9 @@ bool OSystem_SDL::pollEvent(Common::Event &event) {
|
|||
// Alt-Return and Alt-Enter toggle full screen mode
|
||||
if (b == Common::KBD_ALT && (ev.key.keysym.sym == SDLK_RETURN
|
||||
|| ev.key.keysym.sym == SDLK_KP_ENTER)) {
|
||||
beginGFXTransaction();
|
||||
setFullscreenMode(!_fullscreen);
|
||||
endGFXTransaction();
|
||||
#ifdef USE_OSD
|
||||
if (_fullscreen)
|
||||
displayMessageOnOSD("Fullscreen mode");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue