about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-06-11 10:26:57 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-06-11 10:26:57 +0100
commit5d422bb1ce9c8b1919809f14746ad80d0442bbbb (patch)
treeaaca635734f9720b4024e8eb6fd4545121bdd1bc /dwm.c
parent38a43c2dcc2c75ece9ef1ac5cd82a8d05c7c519f (diff)
downloaddwm-5d422bb1ce9c8b1919809f14746ad80d0442bbbb.tar.gz
using foo layout during cleanup (suggested by Gottox), add Arg->v handling for togglelayout() suggested by anydot
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 943e17b..04ae223 100644
--- 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);