summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/x11/os_x11.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index f60610693f..4d7532d637 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) {