feat(backend): 添加光标支持

This commit is contained in:
2026-06-19 17:12:08 +08:00
parent 090266baa5
commit 7a47f4d44d
7 changed files with 99 additions and 2 deletions

View File

@@ -118,3 +118,9 @@ typedef struct visual_t {
* @returns 返回的信息使用后记得使用 free 释放
*/
visual_t *window_get_visual(backend_t *backend, bool prefer_alpha);
void window_change_cursor(
backend_t *backend,
xcb_window_t window,
cursor_t cursor
);