summaryrefslogtreecommitdiff
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-17 21:12:55 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-17 21:12:55 +0200
commit86953bd68249662b5d7a9ae6741744ab8bf30aa1 (patch)
tree98c85514384af2397996289c67ea53f52742a87e /tag.c
parenta923298d3577dca0e69fd70edbef56c7822258e3 (diff)
renamed seltag into seltags
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tag.c b/tag.c
index a0ddb0d..0b155c0 100644
--- a/tag.c
+++ b/tag.c
@@ -84,7 +84,7 @@ isvisible(Client *c) {
unsigned int i;
for(i = 0; i < ntags; i++)
- if(c->tags[i] && seltag[i])
+ if(c->tags[i] && seltags[i])
return True;
return False;
}
@@ -139,7 +139,7 @@ settags(Client *c, Client *trans) {
}
if(!matched)
for(i = 0; i < ntags; i++)
- c->tags[i] = seltag[i];
+ c->tags[i] = seltags[i];
persistconfig(c);
}
@@ -190,10 +190,10 @@ toggleview(const char *arg) {
unsigned int i, j;
i = idxoftag(arg);
- seltag[i] = !seltag[i];
- for(j = 0; j < ntags && !seltag[j]; j++);
+ seltags[i] = !seltags[i];
+ for(j = 0; j < ntags && !seltags[j]; j++);
if(j == ntags)
- seltag[i] = True; /* cannot toggle last view */
+ seltags[i] = True; /* cannot toggle last view */
arrange();
}
@@ -202,9 +202,9 @@ view(const char *arg) {
unsigned int i;
for(i = 0; i < ntags; i++)
- seltag[i] = arg == NULL;
+ seltags[i] = arg == NULL;
i = idxoftag(arg);
if(i >= 0 && i < ntags)
- seltag[i] = True;
+ seltags[i] = True;
arrange();
}