Package: xwayland
Version: 2:22.1.5-1
When XWalyand starts by a compositor (Mutter, KWin) - deprecated option
"-listen" is used.
That produces warnings in log like this:
|kwin_wayland_wrapper[4038]: (WW) Option "-listen" for file descriptors
is deprecated||
||kwin_wayland_wrapper[4038]: Please use "-listenfd" instead.||
||...||
||org.gnome.Shell.desktop[131375]: (WW) Option "-listen" for file
descriptors is deprecated||
||org.gnome.Shell.desktop[131375]: Please use "-listenfd" instead.||
||...||
||gnome-shell[132400]: (WW) Option "-listen" for file descriptors is
deprecated||
||gnome-shell[132400]: Please use "-listenfd" instead.|
That happens because there is no |xwayland.pc| file in the xwayland
package or any other Debian's package.
That file is present upstream and contains important information for
compositors build systems to be aware of the new option and use it
instead of the deprecated one:
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/593
Support of that in Mutter:
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1682
In KWin:
https://invent.kde.org/plasma/kwin/-/merge_requests/739
If no |xwayland.pc| file found, compositors are built with an old
deprecated option in use, thus is the problem.
To solve this, I suggest to pick up the missing |xwayland.pc| file from
the upstream here or in some other (-dev?) package:
https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/hw/xwayland/xwayland.pc.in
Can be reproduced on Debian Sid and earlier, or any other derivatives
(Ubuntu, etc.)