Explorar o código

focus on view change as well

Anselm R. Garbe %!s(int64=19) %!d(string=hai) anos
pai
achega
c2cf829ef9
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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();