记录光标在每个屏幕中最后停留的位置

This commit is contained in:
2025-09-02 16:27:45 +08:00
parent 6719ccca2b
commit ac91ebbed3
8 changed files with 75 additions and 16 deletions

View File

@@ -33,6 +33,9 @@ struct monitor_t {
client_t *clients_stack;
client_t *selected_client;
int32_t pointer_x; /* 记录光标 x 坐标位置 */
int32_t pointer_y; /* 记录光标 y 坐标位置 */
xcb_window_t bar_window;
};