diff options
| author | Dana Jansens <danakj@orodu.net> | 2011-03-30 11:23:11 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2011-04-11 17:25:51 -0400 |
| commit | 823997f0011b0c948ebd9d3a3b155884a336ed2f (patch) | |
| tree | 45eb42766eb45966cd47b124195699f5d07d2ec6 /openbox/openbox.c | |
| parent | 6624d06dd17490189764ca6c3a6c7eb8c5f55a5b (diff) | |
don't re-run the startup command on reconfigure
Diffstat (limited to 'openbox/openbox.c')
| -rw-r--r-- | openbox/openbox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index d5ed2b82..c41eea4d 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -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 */ { |
