diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index f60610693f8..4d7532d6374 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -541,6 +541,8 @@ void OS_X11::set_mouse_mode(MouseMode p_mode) { } else { do_mouse_warp=false; } + + XFlush(x11_display); } void OS_X11::warp_mouse_pos(const Point2& p_to) {