X11: Send IME update notification deferred

This commit is contained in:
HolonProduction 2023-11-24 13:12:45 +01:00
parent fa4a65387e
commit bf45d3ae24
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}