JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
core dump fix in cleanup
authorAnselm R Garbe <garbeam@gmail.com>
Wed, 28 May 2008 09:45:18 +0000 (10:45 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Wed, 28 May 2008 09:45:18 +0000 (10:45 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index d8f5352..4847a88 100644 (file)
--- 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)