tinyds: Use WAYLAND_DISPLAY and WAYLAND_SOCKET for wl backend 80/278180/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:58:33 +0000 (14:58 +0900)
commitc2c065107571ec35bcd667059372e087674b3d16
tree1fecf81f899f19a007ea3a43db105dc0c209cb83
parentad0d17962c56e51ed7b3e37a4be75d8e08dfc81f
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: Ieea1e2e55755ec10b6743568abf274e6a64aaf28
src/examples/tinyds.c