changeset 62:0a4b066ce254

focus on view change as well
author Anselm R. Garbe <garbeam@wmii.de>
date Fri, 14 Jul 2006 12:11:24 +0200
parents db93644de522
children f14858218641
files client.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client.c	Fri Jul 14 12:09:05 2006 +0200
+++ b/client.c	Fri Jul 14 12:11:24 2006 +0200
@@ -65,6 +65,9 @@
 	tsel = arg->i;
 	arrange(NULL);
 
+	if((c = next(clients)))
+		focus(c);
+
 	for(c = clients; c; c = next(c->next))
 		draw_client(c);
 	draw_bar();