From: Dana Jansens Date: Mon, 22 Sep 2003 04:14:32 +0000 (+0000) Subject: we always want to start with something focused, moving this to openbox.c X-Git-Tag: openbox-3_0-rc1-RELEASE~131 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=f68066aa63edd6404dc8a598bd9e1f66d8d3844d;p=dana%2Fopenbox.git we always want to start with something focused, moving this to openbox.c --- diff --git a/openbox/client.c b/openbox/client.c index c4b106be..209e5397 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -183,9 +183,6 @@ void client_manage_all() } } XFree(children); - - if (config_focus_new) - focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS); } void client_manage(Window window) diff --git a/openbox/openbox.c b/openbox/openbox.c index 84b9fbeb..06e804ff 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -248,6 +248,7 @@ int main(int argc, char **argv) if (!reconfigure) { /* get all the existing windows */ client_manage_all(); + focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS); } else { GList *it;