mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
client: reset transient_for on unmanage
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2b9bd3f26d
commit
2588be3ae0
1 changed files with 5 additions and 0 deletions
5
client.c
5
client.c
|
@ -838,6 +838,11 @@ client_unmanage(client_t *c)
|
|||
{
|
||||
tag_array_t *tags = &globalconf.screens[c->screen].tags;
|
||||
|
||||
/* Reset transient_for attributes of widows that maybe refering to us */
|
||||
for(client_t *tc = globalconf.clients; tc; tc = tc->next)
|
||||
if(tc->transient_for == c)
|
||||
tc->transient_for = NULL;
|
||||
|
||||
if(globalconf.screens[c->phys_screen].client_focus == c)
|
||||
client_unfocus(c);
|
||||
|
||||
|
|
Loading…
Reference in a new issue