diff --git a/awesome.c b/awesome.c index b16f23950..60aa2dc32 100644 --- a/awesome.c +++ b/awesome.c @@ -643,9 +643,6 @@ main(int argc, char **argv) /* init atom cache */ atoms_init(globalconf.connection); - /* init screens information */ - screen_scan(); - /* do this only for real screen */ ewmh_init(); systray_init(); @@ -702,6 +699,9 @@ main(int argc, char **argv) xdgWipeHandle(&xdg); + /* init screens information */ + screen_scan(); + /* scan existing windows */ scan(tree_c);