5 #include <xcb/xcb_event.h>
8 #define SPLIT_RATIO 0.5
9 #define DESK_NAME "One"
49 ROTATE_COUNTER_CLOCKWISE,
63 bool transient; /* transient window are always floating */
65 bool locked; /* protects window from being closed */
66 xcb_rectangle_t rectangle;
69 typedef struct node_t node_t;
71 split_type_t split_type;
73 xcb_rectangle_t rectangle;
74 bool vacant; /* vacant nodes only hold floating clients */
78 client_t *client; /* NULL except for leaves */
81 typedef struct desktop_t desktop_t;
98 char desk_name[MAXLEN];
101 typedef struct rule_t rule_t;
104 rule_effect_t effect;
113 node_t *make_node(void);
114 desktop_t *make_desktop(const char *);
115 client_t *make_client(xcb_window_t);
116 rule_t *make_rule(void);