소스 검색

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);