设置 root 窗口鼠标样式

This commit is contained in:
2025-11-21 01:00:51 +08:00
parent 2aed03566c
commit bf595e6c8a
3 changed files with 10 additions and 0 deletions

View File

@@ -3,9 +3,12 @@
#include <stdint.h>
#include <xcb/xproto.h>
#include "xcursor.h"
typedef struct visual_t {
uint8_t depth;
xcb_visualtype_t *visual;
} visual_t;
visual_t *xwindow_get_xcb_visual(bool prefer_alpha);
void xwindow_change_cursor(xcb_window_t window, cursor_t cursor);