summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-07-28 17:18:45 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-07-28 17:18:45 +0200
commita54cf2ecef2ca83441dccd454c694b92bca42a16 (patch)
treed793de29a6ceeafba2d0030c64a076d5dfd6ffa8 /event.c
parentremoved shiftview(), if you scroll the views in the tag area, you can also us... (diff)
downloaddwm-a54cf2ecef2ca83441dccd454c694b92bca42a16.tar.gz
dwm-a54cf2ecef2ca83441dccd454c694b92bca42a16.zip
changed ban/unban implementation to not move the windows anymore, but map/unmap them instead - PLEASE TEST THIS
Diffstat (limited to 'event.c')
-rw-r--r--event.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/event.c b/event.c
index b870821..d0716fa 100644
--- a/event.c
+++ b/event.c
@@ -336,8 +336,10 @@ unmapnotify(XEvent *e) {
336 Client *c; 336 Client *c;
337 XUnmapEvent *ev = &e->xunmap; 337 XUnmapEvent *ev = &e->xunmap;
338 338
339 if((c = getclient(ev->window))) 339 if((c = getclient(ev->window)) && (ev->event == root)) {
340 unmanage(c); 340 if(ev->send_event || c->unmapped-- == 0)
341 unmanage(c);
342 }
341} 343}
342 344
343/* extern */ 345/* extern */