summaryrefslogtreecommitdiff
path: root/app/cwm
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2009-01-16 16:49:18 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2009-01-16 16:49:18 +0000
commit6c0b1f1a9e22829a93863e7544e0cbecbadbbc90 (patch)
treed7d2f27c50951d4d801e8b11754c737f5fd6ed84 /app/cwm
parentc1af2c0baf9c1eeccacf2c1dd727f5151fdb4bf4 (diff)
revert just the 'race fix'; more works needs to be ironed out with
events and state. agreed by oga
Diffstat (limited to 'app/cwm')
-rw-r--r--app/cwm/xevents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index cb9266a04..28e88fdb3 100644
--- a/app/cwm/xevents.c
+++ b/app/cwm/xevents.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: xevents.c,v 1.33 2009/01/16 15:24:14 okan Exp $
+ * $Id: xevents.c,v 1.34 2009/01/16 16:49:17 okan Exp $
*/
/*
@@ -68,7 +68,7 @@ xev_handle_unmapnotify(struct xevent *xev, XEvent *ee)
struct client_ctx *cc;
if ((cc = client_find(e->window)) != NULL)
- client_hide(cc);
+ client_delete(cc, e->send_event, 0);
xev_register(xev);
}