Commit ffd02d9b authored by Olivier Fourdan's avatar Olivier Fourdan Committed by Olivier Fourdan

xwayland: non-rootless requires the XDG-WM-Base protocol

When running non-rootless, Xwayland requires that the Wayland compositor
supports the XDG-WM-Base protocol.

Check for XDG-WM-Base protocol support at startup and exit cleanly if
missing rather than segfaulting later in ensure_surface_for_window()
while trying to use xdg_wm_base_get_xdg_surface().
Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
parent 7a7e55c5
Pipeline #225645 passed with stages
in 5 minutes and 17 seconds