dwm-meillo

diff draw.c @ 362:ba6c55e1b9b2

trying a different configuration
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 25 Aug 2006 15:48:44 +0200
parents 728e74820e1d
children fc9d35252ab4
line diff
     1.1 --- a/draw.c	Fri Aug 25 15:37:00 2006 +0200
     1.2 +++ b/draw.c	Fri Aug 25 15:48:44 2006 +0200
     1.3 @@ -99,16 +99,19 @@
     1.4  	dc.x = dc.y = 0;
     1.5  	dc.w = bw;
     1.6  
     1.7 -	drawtext(arrange == dotile ? TILESYMBOL : FLOATSYMBOL, dc.status, False);
     1.8 -	dc.w = modew;
     1.9 +	drawtext(NULL, dc.status, False);
    1.10  	for(i = 0; i < ntags; i++) {
    1.11 -		dc.x += dc.w;
    1.12  		dc.w = textw(tags[i]);
    1.13  		if(seltag[i])
    1.14  			drawtext(tags[i], dc.sel, sel && sel->tags[i]);
    1.15  		else
    1.16  			drawtext(tags[i], dc.norm, sel && sel->tags[i]);
    1.17 +		dc.x += dc.w;
    1.18  	}
    1.19 +
    1.20 +	dc.w = bmw;
    1.21 +	drawtext(arrange == dotile ? TILESYMBOL : FLOATSYMBOL, dc.status, False);
    1.22 +
    1.23  	x = dc.x + dc.w;
    1.24  	dc.w = textw(stext);
    1.25  	dc.x = bx + bw - dc.w;