We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6622f4e commit d86fb8aCopy full SHA for d86fb8a
src/core/gdk/SDL_gdk.cpp
@@ -105,7 +105,7 @@ bool GDK_RegisterChangeNotifications(void)
105
SDL_LogDebug(SDL_LOG_CATEGORY_APPLICATION, "[GDK] in RegisterAppConstrainedChangeNotification handler");
106
SDL_VideoDevice *_this = SDL_GetVideoDevice();
107
if (_this) {
108
- if (constrained) {
+ if (constrained && !((_this->windows) && _this->windows->text_input_active)) {
109
SDL_SetKeyboardFocus(NULL);
110
} else {
111
SDL_SetKeyboardFocus(_this->windows);
0 commit comments