mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 22:10:56 +00:00
Fix handling of screen saver after fa4c0e82bd and reset background events hint for UI after streaming
This commit is contained in:
1 parent
26bdc3e1d5
commit
50f47f1ed5
2 files changed
+21
-12
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user