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; clients = c;
settitle(c); settitle(c);
if(isvisible(c)) if(isvisible(c)) {
focus(NULL);
sel = c; sel = c;
}
arrange(NULL); arrange(NULL);
XMapWindow(dpy, c->win); XMapWindow(dpy, c->win);
XMapWindow(dpy, c->twin); XMapWindow(dpy, c->twin);