dwm-meillo

diff screen.c @ 74:5370ef170cc9

sanitized names
author Anselm R. Garbe <garbeam@wmii.de>
date Fri, 14 Jul 2006 22:54:09 +0200
parents c2ddb9dbbd10
children
line diff
     1.1 --- a/screen.c	Fri Jul 14 22:33:38 2006 +0200
     1.2 +++ b/screen.c	Fri Jul 14 22:54:09 2006 +0200
     1.3 @@ -15,9 +15,9 @@
     1.4  	tsel = arg->i;
     1.5  	arrange(NULL);
     1.6  
     1.7 -	for(c = clients; c; c = next(c->next))
     1.8 -		draw_client(c);
     1.9 -	draw_bar();
    1.10 +	for(c = clients; c; c = getnext(c->next))
    1.11 +		drawtitle(c);
    1.12 +	drawstatus();
    1.13  }
    1.14  
    1.15  void
    1.16 @@ -30,15 +30,15 @@
    1.17  		if(c->tags[tsel])
    1.18  			resize(c, True);
    1.19  		else
    1.20 -			ban_client(c);
    1.21 +			ban(c);
    1.22  	}
    1.23  	if(sel && !sel->tags[tsel]) {
    1.24 -		if((sel = next(clients))) {
    1.25 -			craise(sel);
    1.26 +		if((sel = getnext(clients))) {
    1.27 +			higher(sel);
    1.28  			focus(sel);
    1.29  		}
    1.30  	}
    1.31 -	draw_bar();
    1.32 +	drawstatus();
    1.33  }
    1.34  
    1.35  void
    1.36 @@ -61,7 +61,7 @@
    1.37  	for(i = 0, c = clients; c; c = c->next) {
    1.38  		if(c->tags[tsel]) {
    1.39  			if(c->floating) {
    1.40 -				craise(c);
    1.41 +				higher(c);
    1.42  				resize(c, True);
    1.43  				continue;
    1.44  			}
    1.45 @@ -87,14 +87,14 @@
    1.46  			i++;
    1.47  		}
    1.48  		else
    1.49 -			ban_client(c);
    1.50 +			ban(c);
    1.51  	}
    1.52  	if(!sel || (sel && !sel->tags[tsel])) {
    1.53 -		if((sel = next(clients))) {
    1.54 -			craise(sel);
    1.55 +		if((sel = getnext(clients))) {
    1.56 +			higher(sel);
    1.57  			focus(sel);
    1.58  		}
    1.59  	}
    1.60 -	draw_bar();
    1.61 +	drawstatus();
    1.62  }
    1.63