Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changed the fix of yesterday, the resize should only be necessary at manage() time...
[dwm.git]
/
event.c
diff --git
a/event.c
b/event.c
index
b870821
..
d0716fa
100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-336,8
+336,10
@@
unmapnotify(XEvent *e) {
Client *c;
XUnmapEvent *ev = &e->xunmap;
- if((c = getclient(ev->window)))
- unmanage(c);
+ if((c = getclient(ev->window)) && (ev->event == root)) {
+ if(ev->send_event || c->unmapped-- == 0)
+ unmanage(c);
+ }
}
/* extern */