aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <[email protected]>2007-01-08 17:36:56 +0100
committerAnselm R. Garbe <[email protected]>2007-01-08 17:36:56 +0100
commit5a5851bac2670624f30c84efe4129f0101f62255 (patch)
tree41930b067cc1d4c42d928bc5dc58b9124d797c76 /main.c
parentimplemented nmaster appearance in mode label (using %u) (diff)
downloadseiwm-5a5851bac2670624f30c84efe4129f0101f62255.tar.xz
seiwm-5a5851bac2670624f30c84efe4129f0101f62255.zip
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;