Commit 5d422bb

Anselm R Garbe <garbeam@gmail.com>
2008-06-11 05:26:57
using foo layout during cleanup (suggested by Gottox), add Arg->v handling for togglelayout() suggested by anydot
1 parent 38a43c2
Changed files (1)
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);