xwayland: Use the path to Xwayland as installed

Otherwise the executable cannot be found where specified.

v2: Use 'xwayland_path' (Simon)

Fixes: fbf5e26b5 - xwayland: Use full path for Xwayland exec
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1490>
This commit is contained in:
Olivier Fourdan 2024-04-17 15:13:06 +02:00 committed by Marge Bot
parent d1fe52933e
commit 8ff88ffec9

View File

@ -196,7 +196,7 @@ xwayland_manpage = configure_file(
install_man(xwayland_manpage)
desktop_data = configuration_data()
desktop_data.set('XWAYLAND', xwayland_server.full_path())
desktop_data.set('XWAYLAND', xwayland_path + '/Xwayland'))
desktop_data.set('DECORATE', have_libdecor ? '-decorate' : '')
desktop_file = configure_file(
input: 'desktop/org.freedesktop.Xwayland.desktop.in',