Commit f15f45a

Anselm R. Garbe <arg@10kloc.org>
2006-09-04 11:39:33
simplified manage
1 parent 1b2e149
Changed files (1)
client.c
@@ -254,15 +254,12 @@ manage(Window w, XWindowAttributes *wa)
 	clients = c;
 
 	settitle(c);
-	if(isvisible(c)) {
-		focus(NULL);
-		sel = c;
-	}
-	arrange(NULL);
+	ban(c);
 	XMapWindow(dpy, c->win);
 	XMapWindow(dpy, c->twin);
 	if(isvisible(c))
 		focus(c);
+	arrange(NULL);
 }
 
 void