projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6624d06
)
don't re-run the startup command on reconfigure
author
Dana Jansens
<danakj@orodu.net>
Wed, 30 Mar 2011 15:23:11 +0000
(11:23 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 11 Apr 2011 21:25:51 +0000
(17:25 -0400)
openbox/openbox.c
patch
|
blob
|
history
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);
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 */
{
/* look for parsing errors */
{