aboutsummaryrefslogtreecommitdiff
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
parent38a43c2dcc2c75ece9ef1ac5cd82a8d05c7c519f (diff)
using foo layout during cleanup (suggested by Gottox), add Arg->v handling for togglelayout() suggested by anydot
-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);