mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-06 17:24:45 +00:00
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> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>