summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <chalserogers@gmail.com>2007-09-23 18:38:48 +1000
committerChristopher James Halse Rogers <chalserogers@gmail.com>2007-09-23 18:38:48 +1000
commita29deb7d1483bdab8f6839be3408ff3ac5ac08a5 (patch)
tree76ad554fe320a1014674125e989e0cc60f22b70f
parentd28696831980fb3226638f48730d3566cb25613d (diff)
downloadsession-xdg-a29deb7d1483bdab8f6839be3408ff3ac5ac08a5.tar.gz
session-xdg-a29deb7d1483bdab8f6839be3408ff3ac5ac08a5.tar.bz2
Return the right subdirectory from getSessionFilePath.
And now for some stupidity of my own. Actually append /compiz/session to .
-rw-r--r--session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/session.c b/session.c
index b53aad9..5488bdd 100644
--- a/session.c
+++ b/session.c
@@ -368,6 +368,7 @@ getSessionFilePath (char *buffer, size_t size)
strncat (buffer, "/", size);
strncat (buffer, XDG_DATA_DEFAULT, size);
}
+ strncat (buffer, "/compiz/session", size);
return buffer;
}