Commit 666fae9

Anselm R.Garbe <arg@10ksloc.org>
2006-08-14 10:37:55
added some flicker prevention
1 parent 823fb11
Changed files (1)
client.c
@@ -262,11 +262,13 @@ manage(Window w, XWindowAttributes *wa)
 				c->maxw == c->minw && c->maxh == c->minh);
 	settitle(c);
 
+	if(isvisible(c))
+		sel = c;
+	arrange(NULL);
 	XMapWindow(dpy, c->win);
 	XMapWindow(dpy, c->title);
 	if(isvisible(c))
 		focus(c);
-	arrange(NULL);
 }
 
 void