1 parent efa67fe commit 209511bCopy full SHA for 209511b
1 file changed
app/streaming/input/input.cpp
@@ -301,21 +301,10 @@ void SdlInputHandler::notifyFocusLost()
301
// Raise all keys that are currently pressed. If we don't do this, certain keys
302
// used in shortcuts that cause focus loss (such as Alt+Tab) may get stuck down.
303
raiseAllKeys();
304
-
305
-#ifdef Q_OS_WIN32
306
- // Re-enable text input when window loses focus as a workaround for an SDL bug.
307
- // See #1617 for details.
308
- SDL_StartTextInput();
309
-#endif
310
}
311
312
void SdlInputHandler::notifyFocusGained()
313
{
314
315
- // Disable text input when window gains focus to prevent IME popup interference.
316
317
- SDL_StopTextInput();
318
319
320
321
bool SdlInputHandler::isCaptureActive()
0 commit comments