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:
6d0c4d7
)
Close openbox.log when restarting
author
Mikael Magnusson
<mikachu@gmail.com>
Thu, 19 Feb 2009 21:19:27 +0000
(22:19 +0100)
committer
Mikael Magnusson
<mikachu@gmail.com>
Fri, 20 Feb 2009 16:45:07 +0000
(17:45 +0100)
openbox/openbox.c
patch
|
blob
|
history
diff --git
a/openbox/openbox.c
b/openbox/openbox.c
index
5be4e78
..
e71465a
100644
(file)
--- a/
openbox/openbox.c
+++ b/
openbox/openbox.c
@@
-417,6
+417,7
@@
gint main(gint argc, gchar **argv)
obt_display_close();
if (restart) {
+ ob_debug_shutdown();
if (restart_path != NULL) {
gint argcp;
gchar **argvp;
@@
-470,7
+471,8
@@
gint main(gint argc, gchar **argv)
g_free(ob_sm_id);
g_free(program_name);
- ob_debug_shutdown();
+ if (!restart)
+ ob_debug_shutdown();
return exitcode;
}