summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-07-28 12:58:56 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-07-28 12:58:56 +0200
commit4b9337a01e7f12058ce54ed65d69e64748397498 (patch)
tree4f1b617eb95645e5cb3bd622b7ddb92da3963e3c /tag.c
parentapplied Jeroen's {clean,spell}.diff patches, thanks Jeroen! (diff)
downloaddwm-4b9337a01e7f12058ce54ed65d69e64748397498.tar.gz
dwm-4b9337a01e7f12058ce54ed65d69e64748397498.zip
removed shiftview(), if you scroll the views in the tag area, you can also use Button1 instead
removed focusclient([-]1) bound to scroll wheel - if you slightly move the mouse you will focus the first client anways which is in the way
Diffstat (limited to '')
-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;