Explorar el Código

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

Anselm R Garbe hace 17 años
padre
commit
5d422bb1ce
Se han modificado 1 ficheros con 1 adiciones y 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);