aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-22 19:01:05 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-22 19:01:05 +0200
commit36672d0401299a5230b516ca4575365d9f45dd35 (patch)
tree3770848e8bec981cdc239d0e89b2a241f2bdfc67 /event.c
parentb18e6840152b300f2db8ff8dca16aee0839f864b (diff)
downloaddwm-36672d0401299a5230b516ca4575365d9f45dd35.tar.gz
removed the _DWM_PROPERTIES handling, reverted ban/unban to XMoveWindow(), and changed argument of setlayout to layout[N].symbol check
Diffstat (limited to 'event.c')
-rw-r--r--event.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/event.c b/event.c
index b96aba9..9e83178 100644
--- a/event.c
+++ b/event.c
@@ -221,7 +221,7 @@ destroynotify(XEvent *e) {
XDestroyWindowEvent *ev = &e->xdestroywindow;
if((c = getclient(ev->window)))
- unmanage(c, WithdrawnState);
+ unmanage(c);
}
static void
@@ -332,10 +332,8 @@ unmapnotify(XEvent *e) {
Client *c;
XUnmapEvent *ev = &e->xunmap;
- if((c = getclient(ev->window)) && (ev->event == root)) {
- if(ev->send_event || c->unmapped-- == 0)
- unmanage(c, WithdrawnState);
- }
+ if((c = getclient(ev->window)))
+ unmanage(c);
}
/* extern */