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>
|
2009-08-07 15:35:12 +02:00
|
|
|
#include <xcb/xcb_keysyms.h>
|
2009-02-13 19:04:45 +01:00
|
|
|
|
|
|
|
#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-12-25 15:19:39 +01:00
|
|
|
#define NUM_ATOMS 20
|
2009-02-24 01:24:28 +01:00
|
|
|
|
2009-07-28 20:51:29 +02:00
|
|
|
extern xcb_connection_t *global_conn;
|
2009-08-07 15:35:12 +02:00
|
|
|
extern xcb_key_symbols_t *keysyms;
|
2009-05-01 16:10:02 +02:00
|
|
|
extern char **start_argv;
|
2009-02-13 19:04:45 +01:00
|
|
|
extern Display *xkbdpy;
|
2009-09-27 18:45:39 +02:00
|
|
|
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-11-13 00:30:42 +01:00
|
|
|
extern bool xkb_supported;
|
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
|