[hackers] [wmii] Set client windows withdrawn in destroy || Kris Maglione

From: <hg_AT_suckless.org>
Date: Fri, 6 Mar 2009 03:28:02 +0000 (UTC)

changeset: 2436:ccc35cc3896f
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Mar 05 22:27:45 2009 -0500
files: cmd/wmii/client.c
description:
Set client windows withdrawn in destroy

diff -r f5a7f9c6c5ac -r ccc35cc3896f cmd/wmii/client.c
--- a/cmd/wmii/client.c Sun Feb 01 07:50:57 2009 -0500
+++ b/cmd/wmii/client.c Thu Mar 05 22:27:45 2009 -0500
@@ -286,6 +286,7 @@
 
         none = nil;
         client_setviews(c, &none);
+ client_unmap(c, WithdrawnState);
         refree(&c->tagre);
         refree(&c->tagvre);
         free(c->retags);
@@ -442,10 +443,9 @@
 
 void
 client_unmap(Client *c, int state) {
- if(c->w.mapped) {
+ if(c->w.mapped)
                 unmapwin(&c->w);
- client_setstate(c, state);
- }
+ client_setstate(c, state);
 }
 
 int
Received on Fri Mar 06 2009 - 03:28:02 UTC

This archive was generated by hypermail 2.2.0 : Fri Mar 06 2009 - 03:36:04 UTC