Преглед изворни кода

fixing the issue that new clients appear lowered

Anselm R. Garbe пре 19 година
родитељ
комит
e316cf53f6
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      client.c

+ 2 - 0
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);