Bugfix: Correctly set the _NET_CLIENT_LIST_STACKING hint (fixes chromium tabbar)
Fixes #287
This commit is contained in:
@ -11,6 +11,7 @@ xmacro(_NET_WM_WINDOW_TYPE_TOOLBAR)
|
||||
xmacro(_NET_WM_WINDOW_TYPE_SPLASH)
|
||||
xmacro(_NET_WM_DESKTOP)
|
||||
xmacro(_NET_WM_STRUT_PARTIAL)
|
||||
xmacro(_NET_CLIENT_LIST_STACKING)
|
||||
xmacro(_NET_CURRENT_DESKTOP)
|
||||
xmacro(_NET_ACTIVE_WINDOW)
|
||||
xmacro(_NET_WORKAREA)
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user