put openbox saved sessions in CACHE_HOME not DATA_HOME. more correct! i think.
authorDana Jansens <danakj@orodu.net>
Sun, 20 Jan 2008 17:48:11 +0000 (12:48 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 31 Jan 2008 17:25:31 +0000 (12:25 -0500)
openbox/session.c

index c38a820..56ae7ab 100644 (file)
@@ -99,7 +99,8 @@ void session_startup(gint argc, gchar **argv)
     sm_argv = argv;
 
     p = obt_paths_new();
-    dir = g_build_filename(obt_paths_data_home(p), "openbox", "sessions",NULL);
+    dir = g_build_filename(obt_paths_cache_home(p),
+                           "openbox", "sessions", NULL);
     obt_paths_unref(p), p = NULL;
 
     if (!obt_paths_mkdir_path(dir, 0700)) {