Dont include dock clients in ewmh lists

http://standards.freedesktop.org/wm-spec/latest/ar01s03.html#idm140251368149456

The _NET_CLIENT_LIST property of the root window:

> These arrays contain all X Windows managed by the Window Manager.

Dock clients are not managed windows, so they should not be included in
_NET_CLIENT_LIST or _NET_CLIENT_LIST_STACKING.
This commit is contained in:
Tony Crisci
2014-05-02 16:54:34 -04:00
committed by Michael Stapelberg
parent ff94d28b85
commit 4126c87daf
4 changed files with 29 additions and 3 deletions

View File

@ -96,4 +96,13 @@ wait_for_unmap($win3);
@clients = get_client_list;
is(@clients, 0, 'Removed unmapped client from list (0)');
# Dock clients should not be included in this list
my $dock_win = open_window({
window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'),
});
@clients = get_client_list;
is(@clients, 0, 'Dock clients are not included in the list');
done_testing;