hotfixing with sanders hint

This commit is contained in:
Anselm R. Garbe committed 2006-09-04 17:21:15 +02:00
1 parent de6411c338
commit 95d8423823
1 file changed
+3 -1
+3 -1
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);