using foo layout during cleanup (suggested by Gottox), add Arg->v handling for togglelayout() suggested by anydot

This commit is contained in:
Anselm R Garbe 2008-06-11 10:26:57 +01:00
parent 38a43c2dcc
commit 5d422bb1ce

2
dwm.c
View file

@ -363,7 +363,7 @@ checkotherwm(void) {
void
cleanup(void) {
Arg a = {.i = ~0};
Layout foo = { 0 };
Layout foo = { "", NULL };
close(STDIN_FILENO);
view(&a);