about summary refs log tree commit diff stats
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-14 22:32:26 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-14 22:32:26 +0100
commitceea528eff5ccd1bbd11696209fdc60a5383cc41 (patch)
tree6997da5147c7b6e823f2e62cbd42a6080339cea5 /view.c
parent6c5dc7017cff322b6402b3849c07529f5ab916fe (diff)
downloaddwm-ceea528eff5ccd1bbd11696209fdc60a5383cc41.tar.gz
removed mode label stuff
Diffstat (limited to 'view.c')
-rw-r--r--view.c8
1 files changed, 0 insertions, 8 deletions
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;