X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=main.c;h=ba5e2e0a35cc9a2ae79f96f553234c1e48b97e34;hb=5a5851bac2670624f30c84efe4129f0101f62255;hp=c080adae930e99bd37c6f59cf60eddc95ca80dbc;hpb=1d4a24dae02cfb3a3241c3d293e96dba910317bd;p=dwm.git 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;