]> git.lizzy.rs Git - bspwm.git/blob - bspwm.h
Fix hang related to SIGCHLD
[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 split_mode_t split_mode;
13 direction_t split_dir;
14 desktop_t *desk;
15 desktop_t *last_desk;
16 desktop_t *desk_head;
17 desktop_t *desk_tail;
18 rule_t *rule_head;
19 bool running;
20
21 int register_events(void);
22 void handle_zombie(int);
23 void setup(void);
24 void quit(void);
25
26 #endif