simplified manage
This commit is contained in:
1 parent
1b2e149cb4
commit
f15f45a9f8
1 file changed
+2
-5
@@ -254,15 +254,12 @@ manage(Window w, XWindowAttributes *wa)
|
|||||||
clients = c;
|
clients = c;
|
||||||
|
|
||||||
settitle(c);
|
settitle(c);
|
||||||
if(isvisible(c)) {
|
ban(c);
|
||||||
focus(NULL);
|
|
||||||
sel = c;
|
|
||||||
}
|
|
||||||
arrange(NULL);
|
|
||||||
XMapWindow(dpy, c->win);
|
XMapWindow(dpy, c->win);
|
||||||
XMapWindow(dpy, c->twin);
|
XMapWindow(dpy, c->twin);
|
||||||
if(isvisible(c))
|
if(isvisible(c))
|
||||||
focus(c);
|
focus(c);
|
||||||
|
arrange(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in new issue
Block a user