aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-14 22:32:26 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-14 22:32:26 +0100
commitceea528eff5ccd1bbd11696209fdc60a5383cc41 (patch)
tree6997da5147c7b6e823f2e62cbd42a6080339cea5 /main.c
parent6c5dc7017cff322b6402b3849c07529f5ab916fe (diff)
downloaddwm-ceea528eff5ccd1bbd11696209fdc60a5383cc41.tar.gz
removed mode label stuff
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 067f383..645b2e4 100644
--- a/main.c
+++ b/main.c
@@ -17,7 +17,7 @@
/* extern */
-char stext[1024], mtext[32];
+char stext[256];
Bool *seltag;
int bx, by, bw, bh, bmw, masterd, screen, sx, sy, sw, sh, wax, way, waw, wah;
unsigned int master, nmaster, ntags, numlockmask;
@@ -134,7 +134,7 @@ setup(void) {
sh = DisplayHeight(dpy, screen);
master = MASTER;
nmaster = NMASTER;
- updatemodetext();
+ bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : textw(FLOATSYMBOL);
/* bar */
bx = sx;
by = sy;