accept any alt for fullscreen switch

This commit is contained in:
Edward Rudd 2013-12-31 19:31:29 -05:00
parent 1120c60cae
commit f42539e02b
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ void EventThread::process(RGSSThreadData &rtData)
case SDL_KEYDOWN :
if (event.key.keysym.scancode == SDL_SCANCODE_RETURN &&
(event.key.keysym.mod & KMOD_LALT))
(event.key.keysym.mod & KMOD_ALT))
{
setFullscreen(win, !fullscreen);
if (!fullscreen && havePendingTitle)