summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-11-30 15:27:43 +0100
committerarg@mig29 <unknown>2006-11-30 15:27:43 +0100
commit42fd392e05d54db441ecbf534cfd67d20473aac0 (patch)
tree9ad572a816dc6605e2a52f9d5dd720ec645ed56c /view.c
parente06447ee88154a4acdde518299a32b083e3fbcba (diff)
removed viewall(), replaced with view(-1); added tag(-1) to tag a client with all tags (new key combo MODKEY-Shift-0)
Diffstat (limited to 'view.c')
-rw-r--r--view.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/view.c b/view.c
index c11e349..14cfc1d 100644
--- a/view.c
+++ b/view.c
@@ -233,21 +233,12 @@ view(Arg *arg) {
unsigned int i;
for(i = 0; i < ntags; i++)
- seltag[i] = False;
+ seltag[i] = (arg->i == -1) ? True : False;
seltag[arg->i] = True;
arrange();
}
void
-viewall(Arg *arg) {
- unsigned int i;
-
- for(i = 0; i < ntags; i++)
- seltag[i] = True;
- arrange();
-}
-
-void
zoom(Arg *arg) {
unsigned int n;
Client *c;