focus on view change as well

This commit is contained in:
Anselm R. Garbe 2006-07-14 12:11:24 +02:00
parent e3fd306ee2
commit c2cf829ef9
1 changed files with 3 additions and 0 deletions

View File

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