Commit e316cf5

Anselm R. Garbe <arg@10kloc.org>
2006-09-04 11:02:13
fixing the issue that new clients appear lowered
1 parent c107db5
Changed files (1)
client.c
@@ -254,6 +254,8 @@ manage(Window w, XWindowAttributes *wa)
 	clients = c;
 
 	settitle(c);
+	if(isvisible(c))
+		sel = c;
 	arrange(NULL);
 	XMapWindow(dpy, c->win);
 	XMapWindow(dpy, c->twin);