about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-28 10:45:18 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-28 10:45:18 +0100
commite1002745fa4e2649d1f166f652c6c41ccfaaca9b (patch)
tree9865d06401f80f29319b1a0c72a3379e9a57da8a
parent940a4cc6c686fc38306acd5c8ae2d20caae16e5b (diff)
downloaddwm-e1002745fa4e2649d1f166f652c6c41ccfaaca9b.tar.gz
core dump fix in cleanup
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index d8f5352..4847a88 100644
--- a/dwm.c
+++ b/dwm.c
@@ -357,7 +357,7 @@ checkotherwm(void) {
 void
 cleanup(void) {
 	close(STDIN_FILENO);
-	view(NULL);
+	view((uint[]){~0});
 	while(stack)
 		unmanage(stack);
 	if(dc.font.set)