]> Dogcows Code - chaz/openbox/commitdiff
don't re-run the startup command on reconfigure
authorDana Jansens <danakj@orodu.net>
Wed, 30 Mar 2011 15:23:11 +0000 (11:23 -0400)
committerDana Jansens <danakj@orodu.net>
Mon, 11 Apr 2011 21:25:51 +0000 (17:25 -0400)
openbox/openbox.c

index d5ed2b8273ddb5e501498ef801b3ce418fabfa5c..c41eea4ded54134d3649ef7b0cbe519b49bd1509 100644 (file)
@@ -355,11 +355,11 @@ gint main(gint argc, gchar **argv)
                 }
             }
 
-            reconfigure = FALSE;
-
             ob_set_state(OB_STATE_RUNNING);
 
-            if (startup_cmd) run_startup_cmd();
+            if (!reconfigure && startup_cmd) run_startup_cmd();
+
+            reconfigure = FALSE;
 
             /* look for parsing errors */
             {
This page took 0.025113 seconds and 4 git commands to generate.