projects
/
dana
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't re-run the startup command on reconfigure
[dana/openbox.git]
/
openbox
/
openbox.c
diff --git
a/openbox/openbox.c
b/openbox/openbox.c
index
d5ed2b8
..
c41eea4
100644
(file)
--- 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 */
{