From 4ccdc9c23d57d78c24171c7130f84c1fef6ae755 Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Sun, 8 Mar 2026 04:09:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8F=90=E9=AB=98=20xcursor=5Fset=5Fpoi?= =?UTF-8?q?nter=5Fposition=20=E6=93=8D=E4=BD=9C=E5=93=8D=E5=BA=94=E9=80=9F?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/xcursor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xcursor.c b/src/xcursor.c index 92e006b..81c5c65 100644 --- a/src/xcursor.c +++ b/src/xcursor.c @@ -1,6 +1,7 @@ #include "xcursor.h" #include +#include #include #include @@ -143,4 +144,5 @@ void xcursor_set_pointer_position(point_t point) { xcb_window_t window = XCB_WINDOW_NONE; xcb_window_t root = wm.screen->root; xcb_warp_pointer(wm.xcb_conn, window, root, 0, 0, 1, 1, point.x, point.y); + xcb_flush(wm.xcb_conn); }