summary refs log tree commit diff
path: root/xevents.c
diff options
context:
space:
mode:
authorokan <okan>2009-01-16 16:49:17 +0000
committerokan <okan>2009-01-16 16:49:17 +0000
commit399253a4ff975c3858b9bba1db8e7aca15860399 (patch)
tree79ea6f1412fec0acb0df91b12083e3781b5046e6 /xevents.c
parentec8e6052ba902d2b6afced31008aad015d38f062 (diff)
downloadcwm-399253a4ff975c3858b9bba1db8e7aca15860399.tar.gz
cwm-399253a4ff975c3858b9bba1db8e7aca15860399.tar.xz
cwm-399253a4ff975c3858b9bba1db8e7aca15860399.zip
revert just the 'race fix'; more works needs to be ironed out with
events and state.

agreed by oga
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c
index 91f5e43..4add085 100644
--- a/xevents.c
+++ b/xevents.c
@@ -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);
 }