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