aboutsummaryrefslogtreecommitdiff
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
parent05fbbbd8dc3f990f07fe2055693bef0031fd4623 (diff)
downloaddwm-daae3bba504fc705c5fd56363b656937eee5deb4.tar.gz
dwm-daae3bba504fc705c5fd56363b656937eee5deb4.tar.bz2
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)
}
void
+viewall(Arg *arg)
+{
+ unsigned int i;
+
+ for(i = 0; i < ntags; i++)
+ seltag[i] = True;
+ arrange(NULL);
+}
+
+void
zoom(Arg *arg)
{
Client *c = sel;