using foo layout during cleanup (suggested by Gottox), add Arg->v handling for togglelayout() suggested by anydot
--- a/dwm.c Wed Jun 11 10:25:02 2008 +0100
+++ b/dwm.c Wed Jun 11 10:26:57 2008 +0100
@@ -363,7 +363,7 @@
void
cleanup(void) {
Arg a = {.i = ~0};
- Layout foo = { 0 };
+ Layout foo = { "", NULL };
close(STDIN_FILENO);
view(&a);