changed ban/unban implementation to not move the windows anymore, but map/unmap them instead - PLEASE TEST THIS

This commit is contained in:
Anselm R. Garbe
2007-07-28 17:18:45 +02:00
parent 4b9337a01e
commit a54cf2ecef
4 changed files with 15 additions and 11 deletions

View File

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