处理移动鼠标事件

This commit is contained in:
2025-08-24 04:04:39 +08:00
parent 8ffa546152
commit 25ef44e5f9
5 changed files with 67 additions and 3 deletions

View File

@@ -71,6 +71,12 @@ typedef struct expose_event_t {
typedef struct motion_notify_event_t {
event_type_t type;
xcb_window_t root;
int32_t root_x;
int32_t root_y;
xcb_window_t window;
int32_t x;
int32_t y;
} motion_notify_event_t;
typedef struct enter_notify_event_t {