]> git.sur5r.net Git - i3/i3/blobdiff - include/handlers.h
Make i3 compatible with the very latest xcb
[i3/i3] / include / handlers.h
index 76ba3eeaf2996c10278b76b6a8630958f69ad8fa..1c8aa283291fba33a03b9c84763b36efdc782108 100644 (file)
 
 #include <xcb/randr.h>
 
+extern int randr_base;
 
 void add_ignore_event(const int sequence);
 
+/**
+ * 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);
+
+/**
+ * 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().