소스 검색

hotfixing with sanders hint

Anselm R. Garbe 19 년 전
부모
커밋
95d8423823
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      client.c

+ 3 - 1
client.c

@@ -254,8 +254,10 @@ manage(Window w, XWindowAttributes *wa)
 	clients = c;
 
 	settitle(c);
-	if(isvisible(c))
+	if(isvisible(c)) {
+		focus(NULL);
 		sel = c;
+	}
 	arrange(NULL);
 	XMapWindow(dpy, c->win);
 	XMapWindow(dpy, c->twin);