hotfixing with sanders hint

This commit is contained in:
Anselm R. Garbe 2006-09-04 17:21:15 +02:00
parent de6411c338
commit 95d8423823
1 changed files with 3 additions and 1 deletions

View File

@ -254,8 +254,10 @@ manage(Window w, XWindowAttributes *wa)
clients = c;
settitle(c);
if(isvisible(c))
if(isvisible(c)) {
focus(NULL);
sel = c;
}
arrange(NULL);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->twin);