X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/1d4a24dae02cfb3a3241c3d293e96dba910317bd..5a5851bac2670624f30c84efe4129f0101f62255:/main.c 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;