- [Psy-X] fullscreen toggle only with Right Alt

This commit is contained in:
Ilya Shurumov 2021-04-06 22:40:47 +06:00
parent adf26d0f2e
commit f069e77aa1

View File

@ -605,7 +605,7 @@ void PsyX_Sys_DoPollEvent()
{ {
int nKey = event.key.keysym.scancode; int nKey = event.key.keysym.scancode;
if (nKey == SDL_SCANCODE_LALT || nKey == SDL_SCANCODE_RALT) if (nKey == SDL_SCANCODE_RALT)
{ {
g_altKeyState = (event.type == SDL_KEYDOWN); g_altKeyState = (event.type == SDL_KEYDOWN);
} }