summaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/view.c b/view.c
index c11e349..14cfc1d 100644
--- a/view.c
+++ b/view.c
@@ -233,21 +233,12 @@ 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(); 238 arrange();
239} 239}
240 240
241void 241void
242viewall(Arg *arg) {
243 unsigned int i;
244
245 for(i = 0; i < ntags; i++)
246 seltag[i] = True;
247 arrange();
248}
249
250void
251zoom(Arg *arg) { 242zoom(Arg *arg) {
252 unsigned int n; 243 unsigned int n;
253 Client *c; 244 Client *c;