Fix handling of screen saver after fa4c0e82bd and reset background events hint for UI after streaming
This commit is contained in:
parent
26bdc3e1d5
commit
50f47f1ed5
2 changed files with 21 additions and 12 deletions
|
|
@ -128,6 +128,9 @@ SdlInputHandler::~SdlInputHandler()
|
|||
|
||||
SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
|
||||
SDL_assert(!SDL_WasInit(SDL_INIT_JOYSTICK));
|
||||
|
||||
// Return background event handling to off
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "0");
|
||||
}
|
||||
|
||||
void SdlInputHandler::handleKeyEvent(SDL_KeyboardEvent* event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue