don't re-run the startup command on reconfigure
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
openbox/openbox.c
→
openbox/openbox.c
@@ -355,11 +355,11 @@ client_reconfigure(c, FALSE);
} } - 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 */ {