bspwm/bspwm.h

27 lines
485 B
C
Raw Normal View History

2012-08-18 11:18:19 +02:00
#ifndef _BSPWM_H
#define _BSPWM_H
2012-07-31 14:32:13 +02:00
2012-09-18 17:21:04 +02:00
#include "types.h"
2012-07-30 12:21:22 +02:00
xcb_connection_t *dpy;
2012-08-01 23:16:07 +02:00
int default_screen, screen_width, screen_height;
2012-08-25 15:24:35 +02:00
unsigned int num_clients;
uint32_t num_desktops;
2012-08-01 23:16:07 +02:00
xcb_screen_t *screen;
xcb_rectangle_t root_rect;
2012-08-19 10:34:08 +02:00
split_mode_t split_mode;
direction_t split_dir;
2012-08-29 18:37:31 +02:00
desktop_t *desk;
desktop_t *last_desk;
desktop_t *desk_head;
desktop_t *desk_tail;
2012-09-11 13:12:53 +02:00
rule_t *rule_head;
2012-07-31 14:32:13 +02:00
bool running;
2012-08-01 23:16:07 +02:00
2012-08-02 20:41:25 +02:00
int register_events(void);
void handle_zombie(int);
2012-09-18 19:18:02 +02:00
void setup(void);
2012-08-29 12:45:44 +02:00
void quit(void);
2012-08-01 23:16:07 +02:00
2012-07-31 14:32:13 +02:00
#endif