aewl
diff view.c @ 688:39fa5308d73f
removed mode label stuff
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Sun, 14 Jan 2007 22:32:26 +0100 |
parents | a76799907854 |
children | 399f08187c27 |
line diff
1.1 --- a/view.c Sun Jan 14 22:27:29 2007 +0100 1.2 +++ b/view.c Sun Jan 14 22:32:26 2007 +0100 1.3 @@ -152,7 +152,6 @@ 1.4 if((arrange == dofloat) || (nmaster + arg->i < 1) || (wah / (nmaster + arg->i) < bh)) 1.5 return; 1.6 nmaster += arg->i; 1.7 - updatemodetext(); 1.8 if(sel) 1.9 arrange(); 1.10 else 1.11 @@ -217,7 +216,6 @@ 1.12 void 1.13 togglemode(Arg *arg) { 1.14 arrange = (arrange == dofloat) ? dotile : dofloat; 1.15 - updatemodetext(); 1.16 if(sel) 1.17 arrange(); 1.18 else 1.19 @@ -236,12 +234,6 @@ 1.20 } 1.21 1.22 void 1.23 -updatemodetext() { 1.24 - snprintf(mtext, sizeof mtext, arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, nmaster); 1.25 - bmw = textw(mtext); 1.26 -} 1.27 - 1.28 -void 1.29 view(Arg *arg) { 1.30 unsigned int i; 1.31