about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c3
1 files changed, 3 insertions, 0 deletions
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();