2009-02-13 20:33:31 -05:00
|
|
|
/*
|
|
|
|
* vim:ts=8:expandtab
|
|
|
|
*
|
|
|
|
* i3 - an improved dynamic tiling window manager
|
|
|
|
*
|
2009-06-19 06:05:55 -04:00
|
|
|
* © 2009 Michael Stapelberg and contributors
|
2009-02-13 20:33:31 -05:00
|
|
|
*
|
|
|
|
* See file LICENSE for license information.
|
|
|
|
*
|
|
|
|
*/
|
2009-02-13 13:04:45 -05:00
|
|
|
#include <xcb/xcb.h>
|
2009-04-19 14:44:34 -04:00
|
|
|
#include <xcb/xcb_property.h>
|
2009-02-13 13:04:45 -05:00
|
|
|
#include <xcb/xcb_event.h>
|
2009-08-07 09:35:12 -04:00
|
|
|
#include <xcb/xcb_keysyms.h>
|
2009-02-13 13:04:45 -05:00
|
|
|
|
|
|
|
#include <X11/XKBlib.h>
|
|
|
|
|
|
|
|
#include "queue.h"
|
2009-04-19 14:44:34 -04:00
|
|
|
#include "data.h"
|
2009-02-13 13:04:45 -05:00
|
|
|
|
|
|
|
#ifndef _I3_H
|
|
|
|
#define _I3_H
|
|
|
|
|
2009-12-31 11:48:41 -05:00
|
|
|
#define NUM_ATOMS 21
|
2009-02-23 19:24:28 -05:00
|
|
|
|
2010-03-27 10:25:51 -04:00
|
|
|
extern xcb_connection_t *conn;
|
2009-08-07 09:35:12 -04:00
|
|
|
extern xcb_key_symbols_t *keysyms;
|
2009-05-01 10:10:02 -04:00
|
|
|
extern char **start_argv;
|
2010-11-26 18:26:51 -05:00
|
|
|
extern Display *xlibdpy, *xkbdpy;
|
2010-03-14 17:35:51 -04:00
|
|
|
extern int xkb_current_group;
|
2009-09-27 12:45:39 -04:00
|
|
|
extern TAILQ_HEAD(bindings_head, Binding) *bindings;
|
2009-03-29 08:53:48 -04:00
|
|
|
extern TAILQ_HEAD(autostarts_head, Autostart) autostarts;
|
2009-05-16 11:32:36 -04:00
|
|
|
extern TAILQ_HEAD(assignments_head, Assignment) assignments;
|
2009-02-23 18:30:04 -05:00
|
|
|
extern SLIST_HEAD(stack_wins_head, Stack_Window) stack_wins;
|
2009-02-13 13:04:45 -05:00
|
|
|
extern xcb_event_handlers_t evenths;
|
2010-04-13 11:22:34 -04:00
|
|
|
extern xcb_property_handlers_t prophs;
|
2009-07-17 12:32:40 -04:00
|
|
|
extern uint8_t root_depth;
|
2010-11-26 18:26:51 -05:00
|
|
|
extern bool xcursor_supported, xkb_supported;
|
2009-02-23 19:24:28 -05:00
|
|
|
extern xcb_atom_t atoms[NUM_ATOMS];
|
2009-07-23 12:14:24 -04:00
|
|
|
extern xcb_window_t root;
|
2009-02-13 13:04:45 -05:00
|
|
|
|
|
|
|
#endif
|