xwayland: split server
Split the server part of wlr_xwayland into wlr_xwayland_server. This allows compositors to implement their own XWM when wlroots' isn't a good fit.
Sway PR: https://github.com/swaywm/sway/pull/5314 A Sway PR isn't necessary for this change.
Breaking change: wlr_xwayland.display_name
is now a const char *
field. Most compositors should still be able to use it like before. Server-specific fields have been moved from wlr_xwayland
to wlr_xwayland_server
.