From: Anselm R Garbe Date: Wed, 11 Jun 2008 09:26:57 +0000 (+0100) Subject: using foo layout during cleanup (suggested by Gottox), add Arg->v handling for toggle... X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=5d422bb1ce9c8b1919809f14746ad80d0442bbbb;p=dwm.git using foo layout during cleanup (suggested by Gottox), add Arg->v handling for togglelayout() suggested by anydot --- 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);