Added SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT

(cherry picked from commit fe9bdcf508)
This commit is contained in:
Sam Lantinga committed 2025-03-05 09:13:10 -08:00
1 parent 2477f7f982
commit d75ba9c2d2
3 files changed
+27 -1

No files matched your search

+3 -1
View File
@@ -521,7 +521,9 @@ bool X11_CreateWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_Properties
return false;
}
SetupWindowInput(_this, window);
if (SDL_GetHintBoolean(SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT, true)) {
SetupWindowInput(_this, window);
}
return true;
}