|
|
@ -227,9 +227,7 @@ manage(Window w, XWindowAttributes *wa) {
|
|
|
|
attach(c);
|
|
|
|
attach(c);
|
|
|
|
attachstack(c);
|
|
|
|
attachstack(c);
|
|
|
|
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
|
|
|
|
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
|
|
|
|
setclientstate(c, IconicState);
|
|
|
|
ban(c);
|
|
|
|
c->isbanned = True;
|
|
|
|
|
|
|
|
focus(c);
|
|
|
|
|
|
|
|
arrange();
|
|
|
|
arrange();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -325,7 +323,8 @@ unmanage(Client *c, long state) {
|
|
|
|
XSync(dpy, False);
|
|
|
|
XSync(dpy, False);
|
|
|
|
XSetErrorHandler(xerror);
|
|
|
|
XSetErrorHandler(xerror);
|
|
|
|
XUngrabServer(dpy);
|
|
|
|
XUngrabServer(dpy);
|
|
|
|
arrange();
|
|
|
|
if(state != NormalState)
|
|
|
|
|
|
|
|
arrange();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|