Browse Source

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

config
garbeam@gmail.com 13 years ago
parent
commit
dec4850d05
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      dwm.c

+ 6
- 2
dwm.c View File

@ -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


Loading…
Cancel
Save