mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 14:40:56 +00:00
Fix accent prompt appearing when keys are held down on macOS
This commit is contained in:
@@ -647,6 +647,12 @@ void Session::exec()
|
|||||||
SDL_SetRelativeMouseMode(SDL_TRUE);
|
SDL_SetRelativeMouseMode(SDL_TRUE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Stop text input. SDL enables it by default
|
||||||
|
// when we initialize the video subsystem, but this
|
||||||
|
// causes an IME popup when certain keys are held down
|
||||||
|
// on macOS.
|
||||||
|
SDL_StopTextInput();
|
||||||
|
|
||||||
// Disable the screen saver
|
// Disable the screen saver
|
||||||
SDL_DisableScreenSaver();
|
SDL_DisableScreenSaver();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user