diff main.c @ 688:39fa5308d73f

removed mode label stuff
author Anselm R. Garbe <arg@suckless.org>
date Sun, 14 Jan 2007 22:32:26 +0100
parents 5f0134b88b8d
children cbec08a54a15
line wrap: on
line diff
--- a/main.c	Sun Jan 14 22:27:29 2007 +0100
+++ b/main.c	Sun Jan 14 22:32:26 2007 +0100
@@ -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 @@
 	sh = DisplayHeight(dpy, screen);
 	master = MASTER;
 	nmaster = NMASTER;
-	updatemodetext();
+	bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : textw(FLOATSYMBOL);
 	/* bar */
 	bx = sx;
 	by = sy;