Explorar o código

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

Anselm R Garbe %!s(int64=17) %!d(string=hai) anos
pai
achega
5d422bb1ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dwm.c

+ 1 - 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);