summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/tag.c b/tag.c
index 2311ade..c44954b 100644
--- a/tag.c
+++ b/tag.c
@@ -99,24 +99,6 @@ settags(Client *c, Client *trans) {
99 c->tags[i] = seltag[i]; 99 c->tags[i] = seltag[i];
100} 100}
101 101
102void
103shiftview(const char *arg) {
104 int i, j;
105
106 for(i = 0; !seltag[i]; i++);
107 for(j = i + 1; j < ntags && !seltag[j]; j++);
108 if(j < ntags)
109 return; /* more than one tag selected */
110 seltag[i] = False;
111 i += arg ? atoi(arg) : 0;
112 if(i < 0)
113 i = ntags - 1;
114 else if(i >= ntags)
115 i = 0;
116 seltag[i] = True;
117 lt->arrange();
118}
119
120void 102void
121tag(const char *arg) { 103tag(const char *arg) {
122 int i; 104 int i;