Build xwayland support as separate library
Created by: ascent12
Just a random idea I thought of. Feel free to shoot it down.
Instead of making xwayland support a build time option, we could make it exist as its own wlroots-xwayland
library. The xwayland code is completely separate anyway, so it should be pretty easy to do.
This will simplify build logic for users, turning things like https://github.com/swaywm/sway/blob/master/meson.build#L62-L82 into
wlroots = dependency('wlroots', fallback: ['wlroots', 'wlroots'])
wlroots_xwayland = dependency('wlroots-xwayland', required: get_option('xwayland'), fallback: ['wlroots', 'wlroots_xwayland'])