all repos — openbox @ d69530a45a42efab0d34dcdb35b0f6fc887dafac

openbox fork - make it a bit more like ryudo

Close openbox.log when restarting
Mikael Magnusson mikachu@gmail.com
commit

d69530a45a42efab0d34dcdb35b0f6fc887dafac

parent

6d0c4d7fadd2d67760ef62e11385fd261ba6a3c4

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M openbox/openbox.copenbox/openbox.c

@@ -417,6 +417,7 @@

obt_display_close(); if (restart) { + ob_debug_shutdown(); if (restart_path != NULL) { gint argcp; gchar **argvp;

@@ -470,7 +471,8 @@ g_free(ob_sm_save_file);

g_free(ob_sm_id); g_free(program_name); - ob_debug_shutdown(); + if (!restart) + ob_debug_shutdown(); return exitcode; }