]> git.sur5r.net Git - i3/i3/blobdiff - include/xcb.h
Merge pull request #2065 from Airblader/feature-1278
[i3/i3] / include / xcb.h
index 2c87a19c688499aaa977eadbb41efe3e3c210b7f..86019c5d958dbe0284af58df8ee328d4100ff051 100644 (file)
@@ -140,6 +140,12 @@ void xcb_set_root_cursor(int cursor);
  */
 uint16_t get_visual_depth(xcb_visualid_t visual_id);
 
+/**
+ * Get visual type specified by visualid
+ *
+ */
+xcb_visualtype_t *get_visualtype_by_id(xcb_visualid_t visual_id);
+
 /**
  * Get visualid with specified depth
  *
@@ -160,3 +166,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);