소스 검색

focus on view change as well

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

+ 3 - 0
client.c

@@ -65,6 +65,9 @@ view(Arg *arg)
 	tsel = arg->i;
 	arrange(NULL);
 
+	if((c = next(clients)))
+		focus(c);
+
 	for(c = clients; c; c = next(c->next))
 		draw_client(c);
 	draw_bar();