mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
27 lines
630 B
C
27 lines
630 B
C
#ifndef _BSPWM_H
|
|
#define _BSPWM_H
|
|
|
|
xcb_connection_t *dpy;
|
|
int default_screen, screen_width, screen_height;
|
|
unsigned int num_clients;
|
|
unsigned int num_desktops;
|
|
xcb_screen_t *screen;
|
|
split_mode_t split_mode;
|
|
direction_t split_dir;
|
|
Desktop *desk;
|
|
Desktop *last_desk;
|
|
Desktop *desk_head;
|
|
Desktop *desk_tail;
|
|
bool running;
|
|
|
|
enum { WM_PROTOCOLS, WM_DELETE_WINDOW, WM_COUNT };
|
|
enum { NET_SUPPORTED, NET_FULLSCREEN, NET_WM_STATE, NET_ACTIVE, NET_COUNT };
|
|
|
|
xcb_atom_t wmatoms[WM_COUNT], netatoms[NET_COUNT];
|
|
|
|
int register_events(void);
|
|
xcb_screen_t *screen_of_display(xcb_connection_t *, int);
|
|
void sigchld(int);
|
|
void setup(int);
|
|
|
|
#endif
|