Skip to content

xwayland: Avoid hardcoding the interface name

The Wayland interfaces have a "name" field that we can use instead of hardcoding their name.

Change the code to use that name instead of the static strings.

This was inspired by a similar change in mutter by Robert Mader robert.mader@collabora.com.

Signed-off-by: Olivier Fourdan ofourdan@redhat.com

Merge request reports

Loading