Client: Fix client closing from additional tag
This commit is contained in:
parent
041e9ec20d
commit
8bc30628c3
12
src/client.c
12
src/client.c
@ -1297,13 +1297,19 @@ client_unmanage(Client *c)
|
||||
{
|
||||
/* Arrange */
|
||||
for(i = 0; i < screen_count() && !b; ++i)
|
||||
if(c->tag == (uint)seltag[i] || tags[i][seltag[i]].tagad & TagFlag(c->tag))
|
||||
if(c->tag == (uint)seltag[i])
|
||||
{
|
||||
b = True;
|
||||
break;
|
||||
}
|
||||
else if(tags[i][seltag[i]].tagad & TagFlag(c->tag))
|
||||
{
|
||||
tags[i][seltag[i]].layout.func(c->screen);
|
||||
break;
|
||||
}
|
||||
|
||||
if(b)
|
||||
{
|
||||
tags[c->screen][c->tag].layout.func(c->screen);
|
||||
}
|
||||
else
|
||||
{
|
||||
tags[c->screen][c->tag].request_update = True;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user