X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=client.c;h=029a59ca2626e900172dbf2990bd78eff5dcd42b;hp=3aae7e0add6d381c9905ef978e01b941a1d14f73;hb=c2cf829ef9dbfe89775bb20a802432a785a9a04b;hpb=e3fd306ee2aa5b92bf4fba339a1ef0d88a97a5dc diff --git a/client.c b/client.c index 3aae7e0..029a59c 100644 --- a/client.c +++ b/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();