projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de4197
)
applied Connors and Valentins patch to improve the unmapnotify handling of broken...
author
garbeam@gmail.com
<unknown>
Mon, 8 Aug 2011 16:55:06 +0000
(16:55 +0000)
committer
garbeam@gmail.com
<unknown>
Mon, 8 Aug 2011 16:55:06 +0000
(16:55 +0000)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index db0fdfbbbe029a0564060ee45253588619f0ff9c..6909969d2dab75b13941664e85c4d9886a38d81e 100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1761,8
+1761,12
@@
unmapnotify(XEvent *e) {
Client *c;
XUnmapEvent *ev = &e->xunmap;
- if((c = wintoclient(ev->window)))
- unmanage(c, False);
+ if((c = wintoclient(ev->window))) {
+ if(ev->send_event)
+ setclientstate(c, WithdrawnState);
+ else
+ unmanage(c, False);
+ }
}
void