]> git.lizzy.rs Git - bspwm.git/blob - bspwm.h
Unmap notify handling is bogus
[bspwm.git] / bspwm.h
1 #ifndef _BSPWM_H
2 #define _BSPWM_H
3
4 #include "types.h"
5
6 xcb_connection_t *dpy;
7 int default_screen, screen_width, screen_height;
8 unsigned int num_clients;
9 uint32_t num_desktops;
10 xcb_screen_t *screen;
11 xcb_rectangle_t root_rect;
12 uint8_t root_depth;
13
14 split_mode_t split_mode;
15 direction_t split_dir;
16 desktop_t *desk;
17 desktop_t *last_desk;
18 desktop_t *desk_head;
19 desktop_t *desk_tail;
20 rule_t *rule_head;
21
22 bool running;
23
24 void register_events(void);
25 void handle_zombie(int);
26 void setup(void);
27 void quit(void);
28
29 #endif