Mercurial > dwm-meillo
comparison view.c @ 594:f7dcd3ac8d6f
removed viewall(), replaced with view(-1); added tag(-1) to tag a client with all tags (new key combo MODKEY-Shift-0)
author | arg@mig29 |
---|---|
date | Thu, 30 Nov 2006 15:27:43 +0100 |
parents | d9e9df9fdce6 |
children | c7f84f23ec5a |
comparison
equal
deleted
inserted
replaced
593:c4ecdb5500f6 | 594:f7dcd3ac8d6f |
---|---|
231 void | 231 void |
232 view(Arg *arg) { | 232 view(Arg *arg) { |
233 unsigned int i; | 233 unsigned int i; |
234 | 234 |
235 for(i = 0; i < ntags; i++) | 235 for(i = 0; i < ntags; i++) |
236 seltag[i] = False; | 236 seltag[i] = (arg->i == -1) ? True : False; |
237 seltag[arg->i] = True; | 237 seltag[arg->i] = True; |
238 arrange(); | |
239 } | |
240 | |
241 void | |
242 viewall(Arg *arg) { | |
243 unsigned int i; | |
244 | |
245 for(i = 0; i < ntags; i++) | |
246 seltag[i] = True; | |
247 arrange(); | 238 arrange(); |
248 } | 239 } |
249 | 240 |
250 void | 241 void |
251 zoom(Arg *arg) { | 242 zoom(Arg *arg) { |