diff options
| author | Anselm R. Garbe <garbeam@gmail.com> | 2007-07-28 12:58:56 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-07-28 12:58:56 +0200 |
| commit | 4b9337a01e7f12058ce54ed65d69e64748397498 (patch) | |
| tree | 4f1b617eb95645e5cb3bd622b7ddb92da3963e3c /tag.c | |
| parent | applied Jeroen's {clean,spell}.diff patches, thanks Jeroen! (diff) | |
| download | dwm-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 'tag.c')
| -rw-r--r-- | tag.c | 18 |
1 files changed, 0 insertions, 18 deletions
| @@ -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 | ||
| 102 | void | ||
| 103 | shiftview(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 | |||
| 120 | void | 102 | void |
| 121 | tag(const char *arg) { | 103 | tag(const char *arg) { |
| 122 | int i; | 104 | int i; |
