use teh save file not the session id
authorDana Jansens <danakj@orodu.net>
Mon, 28 Jul 2003 04:45:45 +0000 (04:45 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 28 Jul 2003 04:45:45 +0000 (04:45 +0000)
openbox/session.c

index 324e284..12af441 100644 (file)
@@ -81,7 +81,7 @@ static void save_commands()
     }
 
     file_path = g_build_filename(g_get_home_dir(), ".openbox", "sessions",
-                                 ob_sm_id, NULL);
+                                 save_file, NULL);
 
     prop_res.vals[j].value = "--sm-save-file";
     prop_res.vals[j++].length = strlen("--sm-save-file");