evas-wayland-shm: Use XDG_RUNTIME_DIR if available for creating mmap'd
authorChris Michael <cp.michael@samsung.com>
Fri, 9 May 2014 06:58:22 +0000 (07:58 +0100)
committerChris Michael <cp.michael@samsung.com>
Fri, 9 May 2014 07:00:44 +0000 (08:00 +0100)
commit8c86148a7beac669a198e621062aded006d40da8
tree4b1d8b26ef0169a238d2546e418b585168285dff
parent6994cb2a86dda3dc333dcf049c93de29976cf3a8
evas-wayland-shm: Use XDG_RUNTIME_DIR if available for creating mmap'd
buffer file.

@bugfix: When we create the mmap'd file for shm buffer access, try
using the XDG_RUNTIME_DIR first as the place to create the file. If
that does not exist in the environment, Then fallback to using /tmp
directory.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/wayland_shm/evas_swapper.c