mirror of
https://github.com/godotengine/godot.git
synced 2024-10-23 05:31:54 +00:00
Merge pull request #93682 from dsnopek/fix-text-editor-find-in-files-focus-bug
Fix text editor stealing focus from "Find in Files" dialog on X11
This commit is contained in:
commit
ac9181c666
|
@ -3040,7 +3040,7 @@ void DisplayServerX11::window_set_ime_active(const bool p_active, WindowID p_win
|
|||
XWindowAttributes xwa;
|
||||
XSync(x11_display, False);
|
||||
XGetWindowAttributes(x11_display, wd.x11_xim_window, &xwa);
|
||||
if (xwa.map_state == IsViewable && _window_focus_check()) {
|
||||
if (xwa.map_state == IsViewable) {
|
||||
_set_input_focus(wd.x11_xim_window, RevertToParent);
|
||||
}
|
||||
XSetICFocus(wd.xic);
|
||||
|
|
Loading…
Reference in New Issue
Block a user