dwm-meillo

diff client.c @ 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 24f9c674d03f
children f14858218641
line diff
     1.1 --- a/client.c	Fri Jul 14 12:09:05 2006 +0200
     1.2 +++ b/client.c	Fri Jul 14 12:11:24 2006 +0200
     1.3 @@ -65,6 +65,9 @@
     1.4  	tsel = arg->i;
     1.5  	arrange(NULL);
     1.6  
     1.7 +	if((c = next(clients)))
     1.8 +		focus(c);
     1.9 +
    1.10  	for(c = clients; c; c = next(c->next))
    1.11  		draw_client(c);
    1.12  	draw_bar();