tinyds: Use WAYLAND_DISPLAY and WAYLAND_SOCKET for wl backend 66/278066/1
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 25 Apr 2022 07:06:21 +0000 (16:06 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 18 Jul 2022 05:08:23 +0000 (14:08 +0900)
commit683a9056098d62a74ff56d2c1af0cddb24547423
tree992b8faed8fbf58d1a536e4341f7e5d8fa995112
parent9d2bfe8b43d1f7130a5e503f2956ffee3bcfd18d
tinyds: Use WAYLAND_DISPLAY and WAYLAND_SOCKET for wl backend

Instead of assuming the name of wayland display server by iterating
arbitrary number of names, it uses values of WAYLAND_DISPLAY and
WAYLAND_SOCKET environments.

The library of wayland-client uses these values when trying to connect
to wayland server.

Change-Id: I0579dab7eadcd3580b0ee0ebadb9175fc0bcd0a5
src/examples/tinyds.c