summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-14 08:38:26 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-14 08:38:26 +0200
commit4cb78a170c6daa488a90dffb60224fcf2b76fbf0 (patch)
tree1405d6c24d3444b2bf039181ac169e092d285585 /tag.c
parentsupplying NULL args in select (diff)
downloaddwm-4cb78a170c6daa488a90dffb60224fcf2b76fbf0.tar.gz
dwm-4cb78a170c6daa488a90dffb60224fcf2b76fbf0.zip
removed viewnext/viewprev
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/tag.c b/tag.c
index 9904dd1..d27d91a 100644
--- a/tag.c
+++ b/tag.c
@@ -263,23 +263,3 @@ toggleview(Arg *arg)
263 arrange(NULL); 263 arrange(NULL);
264 drawall(); 264 drawall();
265} 265}
266
267void
268viewnext(Arg *arg)
269{
270 unsigned int i;
271
272 for(i = 0; !seltag[i]; i++);
273 arg->i = (i < ntags-1) ? i+1 : 0;
274 view(arg);
275}
276
277void
278viewprev(Arg *arg)
279{
280 unsigned int i;
281
282 for(i = 0; !seltag[i]; i++);
283 arg->i = (i > 0) ? i-1 : ntags-1;
284 view(arg);
285}