changed ban/unban implementation to not move the windows anymore, but map/unmap them instead - PLEASE TEST THIS
This commit is contained in:
parent
4b9337a01e
commit
a54cf2ecef
4 changed files with 15 additions and 11 deletions
6
event.c
6
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue