removed the _DWM_PROPERTIES handling, reverted ban/unban to XMoveWindow(), and changed argument of setlayout to layout[N].symbol check
This commit is contained in:
parent
b18e684015
commit
36672d0401
6 changed files with 23 additions and 101 deletions
8
event.c
8
event.c
|
@ -221,7 +221,7 @@ destroynotify(XEvent *e) {
|
|||
XDestroyWindowEvent *ev = &e->xdestroywindow;
|
||||
|
||||
if((c = getclient(ev->window)))
|
||||
unmanage(c, WithdrawnState);
|
||||
unmanage(c);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -332,10 +332,8 @@ unmapnotify(XEvent *e) {
|
|||
Client *c;
|
||||
XUnmapEvent *ev = &e->xunmap;
|
||||
|
||||
if((c = getclient(ev->window)) && (ev->event == root)) {
|
||||
if(ev->send_event || c->unmapped-- == 0)
|
||||
unmanage(c, WithdrawnState);
|
||||
}
|
||||
if((c = getclient(ev->window)))
|
||||
unmanage(c);
|
||||
}
|
||||
|
||||
/* extern */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue