X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=view.c;h=935525fb7f927ec14b1c9178d24e63bed1ab1ce1;hp=b8dd79abbd2ae22c5e898867b412f6dc328e3374;hb=ceea528eff5ccd1bbd11696209fdc60a5383cc41;hpb=6c5dc7017cff322b6402b3849c07529f5ab916fe diff --git a/view.c b/view.c index b8dd79a..935525f 100644 --- a/view.c +++ b/view.c @@ -152,7 +152,6 @@ incnmaster(Arg *arg) { if((arrange == dofloat) || (nmaster + arg->i < 1) || (wah / (nmaster + arg->i) < bh)) return; nmaster += arg->i; - updatemodetext(); if(sel) arrange(); else @@ -217,7 +216,6 @@ togglefloat(Arg *arg) { void togglemode(Arg *arg) { arrange = (arrange == dofloat) ? dotile : dofloat; - updatemodetext(); if(sel) arrange(); else @@ -236,12 +234,6 @@ toggleview(Arg *arg) { } void -updatemodetext() { - snprintf(mtext, sizeof mtext, arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, nmaster); - bmw = textw(mtext); -} - -void view(Arg *arg) { unsigned int i;