all repos — openbox @ 9b0f5fcde7b7c9f140f831945c9f548d9654e81a

openbox fork - make it a bit more like ryudo

delete old save file when changing the session save file
Dana Jansens danakj@orodu.net
commit

9b0f5fcde7b7c9f140f831945c9f548d9654e81a

parent

740c5b2a20d5110435d0874f8cc6a4c9dfd14777

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

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

@@ -318,6 +318,9 @@ FILE *f;

GList *it; gboolean success = TRUE; + if (save_file) + unlink(save_file) + /* this algo is from metacity */ filename = g_strdup_printf("%d-%d-%u.obs", (gint) time(NULL),