]> git.sur5r.net Git - i3/i3/blob - include/i3.h
Don’t start i3-nagbar when using -C to validate the config
[i3/i3] / include / i3.h
1 /*
2  * vim:ts=4:sw=4: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_keysyms.h>
12
13 #include <X11/XKBlib.h>
14
15 #define SN_API_NOT_YET_FROZEN 1
16 #include <libsn/sn-launcher.h>
17
18 #include "queue.h"
19 #include "data.h"
20 #include "xcb.h"
21
22 #ifndef _I3_H
23 #define _I3_H
24
25 extern xcb_connection_t *conn;
26 extern int conn_screen;
27 /** The last timestamp we got from X11 (timestamps are included in some events
28  * and are used for some things, like determining a unique ID in startup
29  * notification). */
30 extern xcb_timestamp_t last_timestamp;
31 extern SnDisplay *sndisplay;
32 extern xcb_key_symbols_t *keysyms;
33 extern char **start_argv;
34 extern Display *xlibdpy, *xkbdpy;
35 extern int xkb_current_group;
36 extern TAILQ_HEAD(bindings_head, Binding) *bindings;
37 extern TAILQ_HEAD(autostarts_head, Autostart) autostarts;
38 extern TAILQ_HEAD(autostarts_always_head, Autostart) autostarts_always;
39 extern TAILQ_HEAD(ws_assignments_head, Workspace_Assignment) ws_assignments;
40 extern TAILQ_HEAD(assignments_head, Assignment) assignments;
41 extern SLIST_HEAD(stack_wins_head, Stack_Window) stack_wins;
42 extern xcb_screen_t *root_screen;
43 extern uint8_t root_depth;
44 extern bool xcursor_supported, xkb_supported;
45 extern xcb_window_t root;
46 extern struct ev_loop *main_loop;
47 extern bool only_check_config;
48
49 #endif