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>
This commit is contained in:
Jonas Ådahl 2016-02-19 15:08:12 +08:00 committed by Adam Jackson
parent 5627708e5f
commit 544b414926

View File

@ -109,7 +109,7 @@ create_tmpfile_cloexec(char *tmpname)
static int static int
os_create_anonymous_file(off_t size) os_create_anonymous_file(off_t size)
{ {
static const char template[] = "/weston-shared-XXXXXX"; static const char template[] = "/xwayland-shared-XXXXXX";
const char *path; const char *path;
char *name; char *name;
int fd; int fd;