[hackers] [wmii] Clear window tags on client_destroy. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Tue, 27 Jul 2010 18:46:00 +0000 (UTC)

changeset: 2772:c134f0c0f195
user: Kris Maglione <kris_AT_suckless.org>
date: Tue Jul 27 14:30:24 2010 -0400
files: cmd/wmii/client.c
description:
Clear window tags on client_destroy.

diff -r dc0e9ccda24f -r c134f0c0f195 cmd/wmii/client.c
--- a/cmd/wmii/client.c Tue Jul 27 14:28:04 2010 -0400
+++ b/cmd/wmii/client.c Tue Jul 27 14:30:24 2010 -0400
@@ -335,8 +335,10 @@
 
         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);
Received on Tue Jul 27 2010 - 20:46:00 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 27 2010 - 20:48:04 CEST