Mercurial > dwm-meillo
comparison tag.c @ 749:6692d7e7e156
added maxlayout by mitch, moved config.h to config.meillo.h, some smaller modifications
author | meillo@marmaro.de |
---|---|
date | Sun, 11 Feb 2007 17:20:22 +0100 |
parents | f0e6c8860014 |
children |
comparison
equal
deleted
inserted
replaced
748:61821891835c | 749:6692d7e7e156 |
---|---|
132 if(i == ntags) | 132 if(i == ntags) |
133 sel->tags[arg->i] = True; | 133 sel->tags[arg->i] = True; |
134 arrange(); | 134 arrange(); |
135 } | 135 } |
136 | 136 |
137 /* begin code by jukka */ | |
137 void | 138 void |
138 viewnext(Arg *arg) { | 139 viewnext(Arg *arg) { |
139 unsigned int i; | 140 unsigned int i; |
140 Bool last = seltag[ntags-1]; | 141 Bool last = seltag[ntags-1]; |
141 | 142 |
142 for (i=ntags-1; i>0; --i) | 143 for (i=ntags-1; i>0; --i) |
143 seltag[i] = seltag[i-1]; | 144 seltag[i] = seltag[i-1]; |
144 seltag[0] = last; | 145 seltag[0] = last; |
145 arrange(); | 146 arrange(); |
146 } | 147 } |
148 /* end code by jukka */ |