aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 5 insertions, 2 deletions
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);