]> git.sur5r.net Git - i3/i3/blobdiff - include/ewmh.h
Bugfix: Correctly set the _NET_CLIENT_LIST_STACKING hint (fixes chromium tabbar)
[i3/i3] / include / ewmh.h
index 2f2bf431dacdc98961fd35e2c273dc970431518c..54c83f400fa97755e83c0d84fe4a00dbb27eb434 100644 (file)
@@ -39,4 +39,16 @@ void ewmh_update_active_window(xcb_window_t window);
  */
 void ewmh_update_workarea();
 
+/**
+ * Updates the _NET_CLIENT_LIST_STACKING hint. Necessary to move tabs in
+ * Chromium correctly.
+ *
+ * EWMH: These arrays contain all X Windows managed by the Window Manager.
+ * _NET_CLIENT_LIST has initial mapping order, starting with the oldest window.
+ * _NET_CLIENT_LIST_STACKING has bottom-to-top stacking order. These properties
+ * SHOULD be set and updated by the Window Manager.
+ *
+ */
+void ewmh_update_client_list_stacking(xcb_window_t *stack, int num_windows);
+
 #endif