diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2016-02-19 15:08:12 +0800 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-02-22 14:00:18 -0500 |
commit | 544b4149268561d3d794aa540172831fa7550a20 (patch) | |
tree | 5d541dddca6baf59b2ddb25648f5f7d2f26a88b2 | |
parent | 5627708e5f447d0e360bbc9eb8d1c4e58c5046d0 (diff) |
xwayland: Prefix shm tmp file names with xwayland
Prefix the temporary file names used for allocating pixmaps with
"xwayland-" instead of "weston-". This makes it less confusing while
looking at the file names of the currently open fds of the Xwayland
process.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
-rw-r--r-- | hw/xwayland/xwayland-shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwayland/xwayland-shm.c b/hw/xwayland/xwayland-shm.c index 1b388f0ca..1beade9c9 100644 --- a/hw/xwayland/xwayland-shm.c +++ b/hw/xwayland/xwayland-shm.c @@ -109,7 +109,7 @@ create_tmpfile_cloexec(char *tmpname) static int os_create_anonymous_file(off_t size) { - static const char template[] = "/weston-shared-XXXXXX"; + static const char template[] = "/xwayland-shared-XXXXXX"; const char *path; char *name; int fd; |