commit 366420f45948989285eef5177c7f0059bc2fe880
parent 3798957c3ba100a929cfb8e44f393cb0157158c4
Author: Kris Maglione <kris@suckless.org>
Date: Tue, 27 Jul 2010 14:30:24 -0400
Clear window tags on client_destroy.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cmd/wmii/client.c b/cmd/wmii/client.c
@@ -335,8 +335,10 @@ client_destroy(Client *c) {
none = nil;
client_setviews(c, &none);
- if(starting >= 0)
+ if(starting >= 0) {
client_unmap(c, WithdrawnState);
+ delproperty(&c->w, "_WMII_TAGS");
+ }
refree(&c->tagre);
refree(&c->tagvre);
free(c->retags);