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
|
|
|
|
2009-07-28 14:51:29 -04:00
|
|
|
extern xcb_connection_t *global_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;
|
2009-02-13 13:04:45 -05:00
|
|
|
extern Display *xkbdpy;
|
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;
|
|
|
|
extern int num_screens;
|
2009-07-17 12:32:40 -04:00
|
|
|
extern uint8_t root_depth;
|
2009-11-12 18:30:42 -05:00
|
|
|
extern bool 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
|