view.c
changeset 688 39fa5308d73f
parent 687 a76799907854
child 690 399f08187c27
--- a/view.c	Sun Jan 14 22:27:29 2007 +0100
+++ b/view.c	Sun Jan 14 22:32:26 2007 +0100
@@ -152,7 +152,6 @@
 	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 @@
 void
 togglemode(Arg *arg) {
 	arrange = (arrange == dofloat) ? dotile : dofloat;
-	updatemodetext();
 	if(sel)
 		arrange();
 	else
@@ -236,12 +234,6 @@
 }
 
 void
-updatemodetext() {
-	snprintf(mtext, sizeof mtext, arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, nmaster);
-	bmw = textw(mtext);
-}
-
-void
 view(Arg *arg) {
 	unsigned int i;