]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
don't re-run the startup command on reconfigure
[chaz/openbox] / 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.019719 seconds and 4 git commands to generate.