JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
simplified buttonpress
[dwm.git] / view.c
diff --git a/view.c b/view.c
index aa0a23a..37b4fd7 100644 (file)
--- a/view.c
+++ b/view.c
@@ -274,6 +274,17 @@ view(Arg *arg)
 }
 
 void
+viewall(Arg *arg)
+{
+       unsigned int i;
+
+       for(i = 0; i < ntags; i++)
+               seltag[i] = True;
+       reorder();
+       arrange(NULL);
+}
+
+void
 zoom(Arg *arg)
 {
        Client *c = sel;