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