Selaa lähdekoodia

fixing the issue that new clients appear lowered

Anselm R. Garbe 19 vuotta sitten
vanhempi
commit
e316cf53f6
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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);