]> git.sur5r.net Git - i3/i3/blobdiff - include/handlers.h
Make i3 compatible with the very latest xcb
[i3/i3] / include / handlers.h
index c7cbb3226a44b960c0caf5e9022db34dfc7df99b..6a4d0a4b31e98bb11045b736ce34d26e2f3e3b32 100644 (file)
 
 #include <xcb/randr.h>
 
+extern int randr_base;
+
+/**
+ * Takes an xcb_generic_event_t and calls the appropriate handler, based on the
+ * event type.
+ *
+ */
+void handle_event(int type, xcb_generic_event_t *event);
+
+/**
+ * Requests the property and invokes the appropriate callback.
+ *
+ */
+int property_notify(uint8_t state, xcb_window_t window, xcb_atom_t atom);
+
+/**
+ * Sets the appropriate atoms for the property handlers after the atoms were
+ * received from X11
+ *
+ */
+void property_handlers_init();
+
 /**
  * There was a key press. We compare this key code with our bindings table and
  * pass the bound action to parse_command().