]> git.sur5r.net Git - i3/i3/blob - include/i3.h
t/22-split: Bugfix: don’t declare old_count twice (Thanks Lourens)
[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_event.h>
14 #include <xcb/xcb_keysyms.h>
15
16 #include <X11/XKBlib.h>
17
18 #include "queue.h"
19 #include "data.h"
20
21 #ifndef _I3_H
22 #define _I3_H
23
24 #define NUM_ATOMS 21
25
26 extern xcb_connection_t *conn;
27 extern xcb_key_symbols_t *keysyms;
28 extern char **start_argv;
29 extern Display *xkbdpy;
30 extern int xkb_current_group;
31 extern TAILQ_HEAD(bindings_head, Binding) *bindings;
32 extern TAILQ_HEAD(autostarts_head, Autostart) autostarts;
33 extern TAILQ_HEAD(assignments_head, Assignment) assignments;
34 extern SLIST_HEAD(stack_wins_head, Stack_Window) stack_wins;
35 extern xcb_event_handlers_t evenths;
36 extern xcb_property_handlers_t prophs;
37 extern uint8_t root_depth;
38 extern bool xkb_supported;
39 extern xcb_atom_t atoms[NUM_ATOMS];
40 extern xcb_window_t root;
41
42 #endif