4 * i3 - an improved dynamic tiling window manager
6 * © 2009-2010 Michael Stapelberg and contributors
8 * See file LICENSE for license information.
14 #include <xcb/randr.h>
16 extern int randr_base;
18 void add_ignore_event(const int sequence, const int response_type);
21 * Takes an xcb_generic_event_t and calls the appropriate handler, based on the
25 void handle_event(int type, xcb_generic_event_t *event);
28 * Sets the appropriate atoms for the property handlers after the atoms were
32 void property_handlers_init();
36 * Configuration notifies are only handled because we need to set up ignore
37 * for the following enter notify events
40 int handle_configure_event(void *prophs, xcb_connection_t *conn, xcb_configure_notify_event_t *event);
45 * Handles _NET_WM_WINDOW_TYPE changes
48 int handle_window_type(void *data, xcb_connection_t *conn, uint8_t state,
49 xcb_window_t window, xcb_atom_t atom,
50 xcb_get_property_reply_t *property);