]> git.sur5r.net Git - i3/i3/blobdiff - include/xcb.h
Migrate i3 rendering to cairo.
[i3/i3] / include / xcb.h
index 2c87a19c688499aaa977eadbb41efe3e3c210b7f..7fae41f5dc0525c1f72c7c6f782b6370aa21559f 100644 (file)
@@ -139,6 +139,7 @@ void xcb_set_root_cursor(int cursor);
  *
  */
 uint16_t get_visual_depth(xcb_visualid_t visual_id);
+xcb_visualtype_t *get_visualtype_by_id(xcb_visualid_t visual_id);
 
 /**
  * Get visualid with specified depth
@@ -160,3 +161,9 @@ void xcb_add_property_atom(xcb_connection_t *conn, xcb_window_t window, xcb_atom
  *
  */
 void xcb_remove_property_atom(xcb_connection_t *conn, xcb_window_t window, xcb_atom_t property, xcb_atom_t atom);
+
+/**
+ * Grab the specified buttons on a window when managing it.
+ *
+ */
+void xcb_grab_buttons(xcb_connection_t *conn, xcb_window_t window, bool bind_scrollwheel);