aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-08 17:36:56 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-08 17:36:56 +0100
commit5a5851bac2670624f30c84efe4129f0101f62255 (patch)
tree41930b067cc1d4c42d928bc5dc58b9124d797c76 /main.c
parent1d4a24dae02cfb3a3241c3d293e96dba910317bd (diff)
downloaddwm-5a5851bac2670624f30c84efe4129f0101f62255.tar.gz
reorganized
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index c080ada..ba5e2e0 100644
--- a/main.c
+++ b/main.c
@@ -133,8 +133,7 @@ setup(void) {
sh = DisplayHeight(dpy, screen);
master = MASTER;
nmaster = NMASTER;
- snprintf(mtext, sizeof mtext, arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, nmaster);
- bmw = textw(mtext);
+ updatemodetext();
/* bar */
bx = sx;
by = sy;