compositor-wayland: clarify wl_display_connect() error
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 23 Oct 2017 09:03:38 +0000 (12:03 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 24 Oct 2017 09:51:35 +0000 (12:51 +0300)
commit99c92e7e52f22b030aa804af4e0b1acb5dc09620
tree933d124f8c3b620887e0431f023436026d4e39d2
parent441954325e90fd345b68b4b9aee1e5021f50717e
compositor-wayland: clarify wl_display_connect() error

Clarify the error message to explicitly say one was trying to connect to
a parent Wayland compositor. This hopefully is a good enough hint on
what using the wayland-backend is trying to do.

Add the command line display option value and WAYLAND_DISPLAY values for
good measure. WAYLAND_SOCKET is not shown as libwayland-client removes
it.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Acked-by: Daniel Stone <daniels@collabora.com>
libweston/compositor-wayland.c