From 209511b2dcf325f504af6b7462c824bd25bb7518 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 16 Feb 2026 15:00:30 -0600 Subject: [PATCH] Revert Pinyin IME workaround which is ineffective on SDL3 The underlying SDL bug is now fixed upstream for SDL 3.4.2. --- app/streaming/input/input.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/streaming/input/input.cpp b/app/streaming/input/input.cpp index 982eaaa9..192f721c 100644 --- a/app/streaming/input/input.cpp +++ b/app/streaming/input/input.cpp @@ -301,21 +301,10 @@ void SdlInputHandler::notifyFocusLost() // Raise all keys that are currently pressed. If we don't do this, certain keys // used in shortcuts that cause focus loss (such as Alt+Tab) may get stuck down. raiseAllKeys(); - -#ifdef Q_OS_WIN32 - // Re-enable text input when window loses focus as a workaround for an SDL bug. - // See #1617 for details. - SDL_StartTextInput(); -#endif } void SdlInputHandler::notifyFocusGained() { -#ifdef Q_OS_WIN32 - // Disable text input when window gains focus to prevent IME popup interference. - // See #1617 for details. - SDL_StopTextInput(); -#endif } bool SdlInputHandler::isCaptureActive()