Browse Source

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

Anselm R Garbe 17 năm trước cách đây
mục cha
commit
5d422bb1ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);