summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-22 04:14:32 +0000
committerDana Jansens <danakj@orodu.net>2003-09-22 04:14:32 +0000
commitf68066aa63edd6404dc8a598bd9e1f66d8d3844d (patch)
tree31da55cf639941f087f68fe70131ebbd360932ad /openbox
parent8b5619d0ad1ed1a9ed41cc5e54622aa6e8fd2cf9 (diff)
we always want to start with something focused, moving this to openbox.c
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c3
-rw-r--r--openbox/openbox.c1
2 files changed, 1 insertions, 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;