dwm-meillo
diff main.c @ 516:e5f8d6ac509c
added symbols for different modes
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Fri, 29 Sep 2006 18:08:20 +0200 |
parents | d6d1d0033e3c |
children | 1a9a0877650c |
line diff
1.1 --- a/main.c Fri Sep 29 17:25:49 2006 +0200 1.2 +++ b/main.c Fri Sep 29 18:08:20 2006 +0200 1.3 @@ -128,8 +128,11 @@ 1.4 dc.status[ColBG] = getcolor(STATUSBGCOLOR); 1.5 dc.status[ColFG] = getcolor(STATUSFGCOLOR); 1.6 setfont(FONT); 1.7 - 1.8 - bmw = textw(FLOATSYMBOL) > textw(TILESYMBOL) ? textw(FLOATSYMBOL) : textw(TILESYMBOL); 1.9 + 1.10 + bmw = textw(VSTACKSYMBOL) > textw(BSTACKSYMBOL) ? 1.11 + textw(VSTACKSYMBOL) : textw(BSTACKSYMBOL); 1.12 + bmw = bmw > textw(FLOATSYMBOL) ? 1.13 + bmw : textw(FLOATSYMBOL); 1.14 sx = sy = 0; 1.15 sw = DisplayWidth(dpy, screen); 1.16 sh = DisplayHeight(dpy, screen);