diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2023-12-05 13:57:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 13:57:32 +0100 |
commit | c44213607962f674a64d1ab41a8c9c20cd41b487 (patch) | |
tree | 91eb44d1cecaf580aec6954d071171ddccdcdee8 | |
parent | c4f872e38e577d8d6fedeaba99b144590113f751 (diff) | |
parent | bf45d3ae24eb09bc5097f30fdb8ad7dc40ed1a7a (diff) | |
download | redot-engine-c44213607962f674a64d1ab41a8c9c20cd41b487.tar.gz |
Merge pull request #85306 from HolonProduction/ime-async
X11: Send IME update notification deferred
-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 3bafdfb53d..e1d842422c 100644 --- a/platform/linuxbsd/x11/display_server_x11.cpp +++ b/platform/linuxbsd/x11/display_server_x11.cpp @@ -3875,7 +3875,7 @@ void DisplayServerX11::_xim_preedit_draw_callback(::XIM xim, ::XPointer client_d ds->im_selection = Point2i(); } - OS_Unix::get_singleton()->get_main_loop()->notification(MainLoop::NOTIFICATION_OS_IME_UPDATE); + OS_Unix::get_singleton()->get_main_loop()->call_deferred(SNAME("notification"), MainLoop::NOTIFICATION_OS_IME_UPDATE); } } |