dwm-meillo

diff main.c @ 357:27082985e51e

removed a bunch of lines, made mode symbols configurable
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 25 Aug 2006 15:12:32 +0200
parents 8a06efe5b563
children 175045ce7537
line diff
     1.1 --- a/main.c	Fri Aug 25 15:06:38 2006 +0200
     1.2 +++ b/main.c	Fri Aug 25 15:12:32 2006 +0200
     1.3 @@ -129,7 +129,7 @@
     1.4  	dc.status[ColFG] = getcolor(STATUSFGCOLOR);
     1.5  	setfont(FONT);
     1.6  
     1.7 -	modew = 0;
     1.8 +	modew = textw(FLOATSYMBOL) > textw(TILEDSYMBOL) ? textw(FLOATSYMBOL) : textw(TILEDSYMBOL);
     1.9  	sx = sy = 0;
    1.10  	sw = DisplayWidth(dpy, screen);
    1.11  	sh = DisplayHeight(dpy, screen);