mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Don't pass key events to the viewer when Alt modifier is held
Fixes the stats panel briefly showing up when using 'Alt+F4' to exit.
This commit is contained in:
parent
fc95a45cb6
commit
21aad00612
2 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ namespace SDLUtil
|
|||
void setControllerEventCallback(ControllerListener* listen) { mConListener = listen; }
|
||||
|
||||
void capture(bool windowEventsOnly);
|
||||
bool isModifierHeld(SDL_Keymod mod);
|
||||
bool isModifierHeld(int mod);
|
||||
bool isKeyDown(SDL_Scancode key);
|
||||
|
||||
void setMouseVisible (bool visible);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue