开启 xcb 事件循环

This commit is contained in:
zedhugh committed 2025-08-12 21:12:16 +08:00
1 parent 943d566cef
commit 43ca95d2f4
3 files changed
+43

No files matched your search

+2
View File
@@ -5,6 +5,7 @@
#include <xcb/xproto.h>
bool has_other_wm_running(void);
int get_xcb_connection_fd(void);
typedef struct monitor_rect_t monitor_rect_t;
struct monitor_rect_t {
@@ -29,4 +30,5 @@ typedef struct window_list_t {
} window_list_t;
window_list_t *scan_window_list(void);
void free_window_list(window_list_t *window_list);
void start_xcb_event_loop(void);
void clean_xcb(void);