mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Remove _NET_WM_DESKTOP when client got no tags
EWMH says that "Window Managers MUST keep this property updated on all windows", but doesn't say anything about clients which got no desktop at all. Removing the property seems to be the best we could do. Signed-off-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
688b9f7af0
commit
65dfdf01ce
1 changed files with 2 additions and 0 deletions
2
ewmh.c
2
ewmh.c
|
@ -468,6 +468,8 @@ ewmh_client_update_desktop(client_t *c)
|
|||
c->window, _NET_WM_DESKTOP, CARDINAL, 32, 1, &i);
|
||||
return;
|
||||
}
|
||||
/* It doesn't have any tags, remove the property */
|
||||
xcb_delete_property(globalconf.connection, c->window, _NET_WM_DESKTOP);
|
||||
}
|
||||
|
||||
/** Update the client struts.
|
||||
|
|
Loading…
Reference in a new issue