]> git.sur5r.net Git - i3/i3/blob - include/i3.h
Make i3 compatible with the very latest xcb
[i3/i3] / include / i3.h
1 /*
2  * vim:ts=8:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  *
6  * © 2009 Michael Stapelberg and contributors
7  *
8  * See file LICENSE for license information.
9  *
10  */
11 #include <xcb/xcb.h>
12 #include <xcb/xcb_property.h>
13 #include <xcb/xcb_keysyms.h>
14
15 #include <X11/XKBlib.h>
16
17 #include "queue.h"
18 #include "data.h"
19
20 #ifndef _I3_H
21 #define _I3_H
22
23 extern xcb_connection_t *global_conn;
24 extern xcb_key_symbols_t *keysyms;
25 extern char **start_argv;
26 extern Display *xkbdpy;
27 extern int xkb_current_group;
28 extern TAILQ_HEAD(bindings_head, Binding) *bindings;
29 extern TAILQ_HEAD(autostarts_head, Autostart) autostarts;
30 extern TAILQ_HEAD(assignments_head, Assignment) assignments;
31 extern SLIST_HEAD(stack_wins_head, Stack_Window) stack_wins;
32 extern uint8_t root_depth;
33 extern bool xkb_supported;
34 extern xcb_window_t root;
35
36 #endif