X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=tag.c;h=d27d91ae7dbbfd515bddbce092213dc605bc563e;hb=4cb78a170c6daa488a90dffb60224fcf2b76fbf0;hp=9904dd1346c595fd2f7198179d25f7e695949b7c;hpb=2c66b422e75109562e6ebfb6247300b916e1551a;p=dwm.git 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) arrange(NULL); drawall(); } - -void -viewnext(Arg *arg) -{ - unsigned int i; - - for(i = 0; !seltag[i]; i++); - arg->i = (i < ntags-1) ? i+1 : 0; - view(arg); -} - -void -viewprev(Arg *arg) -{ - unsigned int i; - - for(i = 0; !seltag[i]; i++); - arg->i = (i > 0) ? i-1 : ntags-1; - view(arg); -}