扫描窗口管理器启动时需要管理的窗口
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <xcb/xproto.h>
|
||||
|
||||
bool has_other_wm_running(void);
|
||||
|
||||
typedef struct monitor_rect_t monitor_rect_t;
|
||||
struct monitor_rect_t {
|
||||
@@ -11,6 +14,11 @@ struct monitor_rect_t {
|
||||
uint32_t height;
|
||||
monitor_rect_t *next;
|
||||
};
|
||||
|
||||
bool has_other_wm_running(void);
|
||||
monitor_rect_t *detect_monitor_rect(void);
|
||||
|
||||
typedef struct window_list_t {
|
||||
uint32_t count;
|
||||
xcb_window_t *list;
|
||||
} window_list_t;
|
||||
window_list_t *scan_window_list(void);
|
||||
void free_window_list(window_list_t *window_list);
|
||||
|
||||
Reference in New Issue
Block a user