dwm-meillo
diff view.c @ 594:f7dcd3ac8d6f
removed viewall(), replaced with view(-1); added tag(-1) to tag a client with all tags (new key combo MODKEY-Shift-0)
author | arg@mig29 |
---|---|
date | Thu, 30 Nov 2006 15:27:43 +0100 |
parents | d9e9df9fdce6 |
children | c7f84f23ec5a |
line diff
1.1 --- a/view.c Thu Nov 30 09:19:52 2006 +0100 1.2 +++ b/view.c Thu Nov 30 15:27:43 2006 +0100 1.3 @@ -233,21 +233,12 @@ 1.4 unsigned int i; 1.5 1.6 for(i = 0; i < ntags; i++) 1.7 - seltag[i] = False; 1.8 + seltag[i] = (arg->i == -1) ? True : False; 1.9 seltag[arg->i] = True; 1.10 arrange(); 1.11 } 1.12 1.13 void 1.14 -viewall(Arg *arg) { 1.15 - unsigned int i; 1.16 - 1.17 - for(i = 0; i < ntags; i++) 1.18 - seltag[i] = True; 1.19 - arrange(); 1.20 -} 1.21 - 1.22 -void 1.23 zoom(Arg *arg) { 1.24 unsigned int n; 1.25 Client *c;