summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-07-27 11:06:24 -0500
committerDaniel Stone <daniels@collabora.com>2016-11-21 09:58:25 +0000
commit5c48aac33b191b30f36e777be836441e211166b6 (patch)
tree50f84fe6fc78ff311d9f360fdc333c4f767adf69
parent9ac70f4349bfa4f934b96cdff4eaa88d5811b5a5 (diff)
cursor: Remove "weston" from anonymous shm filenames
This mildly confused me during some debugging, so I guess it wouldn't hurt to make the filename more indicative of where it was actually created. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Giulio Camuffo <giuliocamuffo@gmail.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
-rw-r--r--cursor/os-compatibility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cursor/os-compatibility.c b/cursor/os-compatibility.c
index d7d4b33..e972d21 100644
--- a/cursor/os-compatibility.c
+++ b/cursor/os-compatibility.c
@@ -103,7 +103,7 @@ create_tmpfile_cloexec(char *tmpname)
int
os_create_anonymous_file(off_t size)
{
- static const char template[] = "/weston-shared-XXXXXX";
+ static const char template[] = "/wayland-cursor-shared-XXXXXX";
const char *path;
char *name;
int fd;