JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Load config file AFTER screens are initialized. Bug pointed out by dwc.
authorRyan McBride <mcbride@countersiege.com>
Tue, 20 Jan 2009 02:22:50 +0000 (02:22 +0000)
committerRyan McBride <mcbride@countersiege.com>
Tue, 20 Jan 2009 02:22:50 +0000 (02:22 +0000)
scrotwm.c

index f42432a..2911c06 100644 (file)
--- a/scrotwm.c
+++ b/scrotwm.c
@@ -1856,10 +1856,12 @@ main(int argc, char *argv[])
                        if (S_ISREG(sb.st_mode))
                                cfile = conf;
        }
+
+       setup_screens();
+
        if (cfile)
                conf_load(cfile);
 
-       setup_screens();
 
        /* ws[0].focus = TAILQ_FIRST(&ws[0].winlist); */