summaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-31 18:02:38 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-31 18:02:38 +0200
commitdaae3bba504fc705c5fd56363b656937eee5deb4 (patch)
treeef2cb9bc82b2e19ca8ae58d0ba3864660c4d8bc7 /view.c
parentimplemented Button2 press on tags for toggletag on the focused client (diff)
downloaddwm-daae3bba504fc705c5fd56363b656937eee5deb4.tar.gz
dwm-daae3bba504fc705c5fd56363b656937eee5deb4.zip
added viewall to mainstream (only Ross Mohns version, not the toggle)
Diffstat (limited to 'view.c')
-rw-r--r--view.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/view.c b/view.c
index aa0a23a..bb0647a 100644
--- a/view.c
+++ b/view.c
@@ -274,6 +274,16 @@ view(Arg *arg)
274} 274}
275 275
276void 276void
277viewall(Arg *arg)
278{
279 unsigned int i;
280
281 for(i = 0; i < ntags; i++)
282 seltag[i] = True;
283 arrange(NULL);
284}
285
286void
277zoom(Arg *arg) 287zoom(Arg *arg)
278{ 288{
279 Client *c = sel; 289 Client *c = sel;