daemon: Install start-pulseadio-x11 as a Xwayland-session.d script

The scripts in this directory are loaded (in GNOME sessions thus far)
at the time of starting Xwayland for X11 clients (may happen on session
start, or on demand whenever X11 clients are started).

This will ensure the relevant X11 modules are loaded as long as there's
a Xwayland instance, thus X11 clients that might make use of them.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/467>
This commit is contained in:
Carlos Garnacho 2020-11-04 11:11:57 +01:00 committed by PulseAudio Marge Bot
parent 877889da60
commit a155cf8ca5

View file

@ -47,6 +47,14 @@ if x11_dep.found()
install_dir : bindir,
)
configure_file(
input : 'start-pulseaudio-x11.in',
output : '00-pulseaudio-x11',
configuration : conf,
install : true,
install_dir : join_paths(sysconfdir, 'xdg', 'Xwayland-session.d'),
)
desktop_file = i18n.merge_file(
input : 'pulseaudio.desktop.in',
output : 'pulseaudio.desktop',