Commit 95d8423

Anselm R. Garbe <arg@10kloc.org>
2006-09-04 11:21:15
hotfixing with sanders hint
1 parent de6411c
Changed files (1)
client.c
@@ -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);