From dddd58a8cdc9ffd9f207c45316e9f9a28b4bf519 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Fri, 29 Sep 2006 18:08:20 +0200 Subject: added symbols for different modes --- main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index a1fdde1..6de4f8a 100644 --- a/main.c +++ b/main.c @@ -128,8 +128,11 @@ setup(void) { dc.status[ColBG] = getcolor(STATUSBGCOLOR); dc.status[ColFG] = getcolor(STATUSFGCOLOR); setfont(FONT); - - bmw = textw(FLOATSYMBOL) > textw(TILESYMBOL) ? textw(FLOATSYMBOL) : textw(TILESYMBOL); + + bmw = textw(VSTACKSYMBOL) > textw(BSTACKSYMBOL) ? + textw(VSTACKSYMBOL) : textw(BSTACKSYMBOL); + bmw = bmw > textw(FLOATSYMBOL) ? + bmw : textw(FLOATSYMBOL); sx = sy = 0; sw = DisplayWidth(dpy, screen); sh = DisplayHeight(dpy, screen); -- cgit v1.2.3-13-gbd6f