applied Connors and Valentins patch to improve the unmapnotify handling of broken clients

new_dwm
garbeam@gmail.com 13 years ago
parent 0de4197cc5
commit dec4850d05

@ -1761,8 +1761,12 @@ unmapnotify(XEvent *e) {
Client *c; Client *c;
XUnmapEvent *ev = &e->xunmap; XUnmapEvent *ev = &e->xunmap;
if((c = wintoclient(ev->window))) if((c = wintoclient(ev->window))) {
unmanage(c, False); if(ev->send_event)
setclientstate(c, WithdrawnState);
else
unmanage(c, False);
}
} }
void void

Loading…
Cancel
Save