using foo layout during cleanup (suggested by Gottox), add Arg->v handling for toggle...
authorAnselm R Garbe <garbeam@gmail.com>
Wed, 11 Jun 2008 09:26:57 +0000 (10:26 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Wed, 11 Jun 2008 09:26:57 +0000 (10:26 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index 943e17b..04ae223 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -363,7 +363,7 @@ checkotherwm(void) {
 void
 cleanup(void) {
        Arg a = {.i = ~0};
-       Layout foo = { 0 };
+       Layout foo = { "", NULL };
 
        close(STDIN_FILENO);
        view(&a);