From f68066aa63edd6404dc8a598bd9e1f66d8d3844d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 22 Sep 2003 04:14:32 +0000 Subject: [PATCH] we always want to start with something focused, moving this to openbox.c --- openbox/client.c | 3 --- openbox/openbox.c | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) 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; -- 2.39.2