accept any alt for fullscreen switch
This commit is contained in:
parent
1120c60cae
commit
f42539e02b
|
@ -145,7 +145,7 @@ void EventThread::process(RGSSThreadData &rtData)
|
||||||
|
|
||||||
case SDL_KEYDOWN :
|
case SDL_KEYDOWN :
|
||||||
if (event.key.keysym.scancode == SDL_SCANCODE_RETURN &&
|
if (event.key.keysym.scancode == SDL_SCANCODE_RETURN &&
|
||||||
(event.key.keysym.mod & KMOD_LALT))
|
(event.key.keysym.mod & KMOD_ALT))
|
||||||
{
|
{
|
||||||
setFullscreen(win, !fullscreen);
|
setFullscreen(win, !fullscreen);
|
||||||
if (!fullscreen && havePendingTitle)
|
if (!fullscreen && havePendingTitle)
|
||||||
|
|
Loading…
Reference in New Issue