Anselm R. Garbe 19 жил өмнө
parent
commit
f15f45a9f8
1 өөрчлөгдсөн 2 нэмэгдсэн , 5 устгасан
  1. 2 5
      client.c

+ 2 - 5
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