mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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>
This commit is contained in:
parent
9ac70f4349
commit
5c48aac33b
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ create_tmpfile_cloexec(char *tmpname)
|
||||||
int
|
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[] = "/wayland-cursor-shared-XXXXXX";
|
||||||
const char *path;
|
const char *path;
|
||||||
char *name;
|
char *name;
|
||||||
int fd;
|
int fd;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue