delete old save file when changing the session save file
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
openbox/session.c
→
openbox/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),