diff options
| author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-11 12:11:50 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-11 12:11:50 +0200 |
| commit | 2d81b78b853565a3e34a8a9190e2362a6fdde739 (patch) | |
| tree | d58d24853f77685588e42f73a01d782980a3b95e /tag.c | |
| parent | let not overlap the borders (diff) | |
| download | dwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.tar.gz dwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.zip | |
separated layout-specific stuff into separate .h and .c files which are included in config.h resp. config.mk - this allows writing layouts for dwm without any need to patch existing code
Diffstat (limited to 'tag.c')
| -rw-r--r-- | tag.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -110,7 +110,7 @@ tag(const char *arg) { | |||
| 110 | i = arg ? atoi(arg) : 0; | 110 | i = arg ? atoi(arg) : 0; |
| 111 | if(i >= 0 && i < ntags) | 111 | if(i >= 0 && i < ntags) |
| 112 | sel->tags[i] = True; | 112 | sel->tags[i] = True; |
| 113 | lt->arrange(NULL); | 113 | lt->arrange(); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | void | 116 | void |
| @@ -124,7 +124,7 @@ toggletag(const char *arg) { | |||
| 124 | for(j = 0; j < ntags && !sel->tags[j]; j++); | 124 | for(j = 0; j < ntags && !sel->tags[j]; j++); |
| 125 | if(j == ntags) | 125 | if(j == ntags) |
| 126 | sel->tags[i] = True; | 126 | sel->tags[i] = True; |
| 127 | lt->arrange(NULL); | 127 | lt->arrange(); |
| 128 | } | 128 | } |
| 129 | 129 | ||
| 130 | void | 130 | void |
| @@ -136,7 +136,7 @@ toggleview(const char *arg) { | |||
| 136 | for(j = 0; j < ntags && !seltag[j]; j++); | 136 | for(j = 0; j < ntags && !seltag[j]; j++); |
| 137 | if(j == ntags) | 137 | if(j == ntags) |
| 138 | seltag[i] = True; /* cannot toggle last view */ | 138 | seltag[i] = True; /* cannot toggle last view */ |
| 139 | lt->arrange(NULL); | 139 | lt->arrange(); |
| 140 | } | 140 | } |
| 141 | 141 | ||
| 142 | void | 142 | void |
| @@ -148,5 +148,5 @@ view(const char *arg) { | |||
| 148 | i = arg ? atoi(arg) : 0; | 148 | i = arg ? atoi(arg) : 0; |
| 149 | if(i >= 0 && i < ntags) | 149 | if(i >= 0 && i < ntags) |
| 150 | seltag[i] = True; | 150 | seltag[i] = True; |
| 151 | lt->arrange(NULL); | 151 | lt->arrange(); |
| 152 | } | 152 | } |
