添加单独的函数来初始化 xcb

This commit is contained in:
2025-08-24 21:46:02 +08:00
parent 52cadbda34
commit a4f39d49f9
3 changed files with 16 additions and 3 deletions

View File

@@ -11,6 +11,7 @@
#define WINDOW_NONE XCB_WINDOW_NONE
bool has_other_wm_running(void);
void setup_xcb(void);
int get_xcb_connection_fd(void);
void flush_xcb_connection(void);