]> Dogcows Code - chaz/openbox/commitdiff
we always want to start with something focused, moving this to openbox.c
authorDana Jansens <danakj@orodu.net>
Mon, 22 Sep 2003 04:14:32 +0000 (04:14 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 22 Sep 2003 04:14:32 +0000 (04:14 +0000)
openbox/client.c
openbox/openbox.c

index c4b106beaef6b2232041d08bcb2e005e8587bdb3..209e5397c8f103523ad51bf9798acf2fadeb33e7 100644 (file)
@@ -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)
index 84b9fbebe8fc12ffd6a6aba1bbb67bcc671c1460..06e804ff8814489fdea4077e652ee0238bbb39b2 100644 (file)
@@ -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;
 
This page took 0.028023 seconds and 4 git commands to generate.