Browse Source

core dump fix in cleanup

Anselm R Garbe 17 năm trước cách đây
mục cha
commit
e1002745fa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      dwm.c

+ 1 - 1
dwm.c

@@ -357,7 +357,7 @@ checkotherwm(void) {
 void
 void
 cleanup(void) {
 cleanup(void) {
 	close(STDIN_FILENO);
 	close(STDIN_FILENO);
-	view(NULL);
+	view((uint[]){~0});
 	while(stack)
 	while(stack)
 		unmanage(stack);
 		unmanage(stack);
 	if(dc.font.set)
 	if(dc.font.set)