dwm-meillo
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 diff
1.1 --- a/main.c Sun Jan 14 22:27:29 2007 +0100 1.2 +++ b/main.c Sun Jan 14 22:32:26 2007 +0100 1.3 @@ -17,7 +17,7 @@ 1.4 1.5 /* extern */ 1.6 1.7 -char stext[1024], mtext[32]; 1.8 +char stext[256]; 1.9 Bool *seltag; 1.10 int bx, by, bw, bh, bmw, masterd, screen, sx, sy, sw, sh, wax, way, waw, wah; 1.11 unsigned int master, nmaster, ntags, numlockmask; 1.12 @@ -134,7 +134,7 @@ 1.13 sh = DisplayHeight(dpy, screen); 1.14 master = MASTER; 1.15 nmaster = NMASTER; 1.16 - updatemodetext(); 1.17 + bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : textw(FLOATSYMBOL); 1.18 /* bar */ 1.19 bx = sx; 1.20 by = sy;