From: Ryan McBride Date: Tue, 20 Jan 2009 02:22:50 +0000 (+0000) Subject: Load config file AFTER screens are initialized. Bug pointed out by dwc. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=55284e616d8cc0c6ab9c334a956993d16f8bb6eb;hp=bcac9e7463557f872691029e6325438530e8d356;p=spectrwm.git Load config file AFTER screens are initialized. Bug pointed out by dwc. --- diff --git a/scrotwm.c b/scrotwm.c index f42432a..2911c06 100644 --- 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); */