diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-02-01 10:51:03 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-02-01 11:10:10 +0200 |
commit | 9f426498231816ccb9d686b3944373f61312aa24 (patch) | |
tree | 18c21d5bb165f34393a36c617e013e18187a44b3 /platform/linuxbsd/x11 | |
parent | 394bb0ee2bcd863aed75e1c6799c4c8138dbf269 (diff) |
[X11] Fix IME subwindow in the popup not getting input focus.
Diffstat (limited to 'platform/linuxbsd/x11')
-rw-r--r-- | platform/linuxbsd/x11/display_server_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/x11/display_server_x11.cpp b/platform/linuxbsd/x11/display_server_x11.cpp index c09da2f7b3..1c4b8ffc9f 100644 --- a/platform/linuxbsd/x11/display_server_x11.cpp +++ b/platform/linuxbsd/x11/display_server_x11.cpp @@ -4897,7 +4897,7 @@ DisplayServerX11::WindowID DisplayServerX11::_create_window(WindowMode p_mode, V // handling decorations and placement. // On the other hand, focus changes need to be handled manually when this is set. // - save_under is a hint for the WM to keep the content of windows behind to avoid repaint. - if (wd.is_popup || wd.no_focus) { + if (wd.no_focus) { windowAttributes.override_redirect = True; windowAttributes.save_under = True; valuemask |= CWOverrideRedirect | CWSaveUnder; |