break on detach or for() will fail to assign ->next
This commit is contained in:
parent
36e9e07f84
commit
8978f0837e
3
tag.c
3
tag.c
|
@ -77,7 +77,10 @@ untag_client(Client *c, Tag *t)
|
||||||
|
|
||||||
for(tc = globalconf.tclink; tc; tc = tc->next)
|
for(tc = globalconf.tclink; tc; tc = tc->next)
|
||||||
if(tc->client == c && tc->tag == t)
|
if(tc->client == c && tc->tag == t)
|
||||||
|
{
|
||||||
detach_tagclientlink(tc);
|
detach_tagclientlink(tc);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool
|
Bool
|
||||||
|
|
Loading…
Reference in New Issue