diff view.c @ 395:7528080beb0e

added viewall to mainstream (only Ross Mohns version, not the toggle)
author Anselm R. Garbe <arg@10kloc.org>
date Thu, 31 Aug 2006 18:02:38 +0200
parents 6786cd59468f
children cb8a231610c7
line wrap: on
line diff
--- a/view.c	Thu Aug 31 17:49:04 2006 +0200
+++ b/view.c	Thu Aug 31 18:02:38 2006 +0200
@@ -274,6 +274,16 @@
 }
 
 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;