Clear window tags on client_destroy.

This commit is contained in:
Kris Maglione 2010-07-27 14:30:24 -04:00
parent 3798957c3b
commit 366420f459

View File

@ -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);