Maintain the _NET_CLIENT_LIST property

Add and update the _NET_CLIENT_LIST property on the root window to
better comply with ewmh standards.

Information on this property can be found here:
http://standards.freedesktop.org/wm-spec/latest/ar01s03.html

> These arrays contain all X Windows managed by the Window Manager.
> _NET_CLIENT_LIST has initial mapping order, starting with the oldest window.

fixes #1099
This commit is contained in:
Tony Crisci
2014-04-08 14:27:40 -04:00
committed by Michael Stapelberg
parent 77abb2ef19
commit 819bc09375
5 changed files with 153 additions and 13 deletions

View File

@ -27,6 +27,11 @@ void ewmh_update_current_desktop(void);
*/
void ewmh_update_active_window(xcb_window_t window);
/**
* Updates the _NET_CLIENT_LIST hint. Used for window listers.
*/
void ewmh_update_client_list(xcb_window_t *list, int num_windows);
/**
* Updates the _NET_CLIENT_LIST_STACKING hint. Necessary to move tabs in
* Chromium correctly.