meson: Convert xwayland option to feature type

wlroots as a subproject now yields the xwayland meson option to its
parent. We need to match the type for this to work. This also adds
support for auto mode, where xwayland is used if present but no warning
is given otherwise.
This commit is contained in:
Kenny Levinsen 2023-11-22 17:30:59 +01:00
parent 1f9c75e551
commit 777966a07c
3 changed files with 6 additions and 6 deletions

View file

@ -1,2 +1,2 @@
option('man-pages', type: 'feature', value: 'auto', description: 'Generate and install man pages')
option('xwayland', type: 'boolean', value: false, description: 'Enable support for X11 applications')
option('xwayland', type: 'feature', value: 'auto', description: 'Enable support for X11 applications')