mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
xwayland: enable use of a xserver subproject
Makes it easier to work on Xwayland and wlroots features in parallel. References: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1048
This commit is contained in:
parent
403eac51c4
commit
2827ec6b7b
1 changed files with 13 additions and 1 deletions
|
@ -20,7 +20,19 @@ if not get_option('xwayland').disabled()
|
|||
msg += 'Required for Xwayland support.'
|
||||
endif
|
||||
|
||||
xwayland = dependency('xwayland', required: get_option('xwayland'))
|
||||
xwayland = dependency(
|
||||
'xwayland',
|
||||
required: get_option('xwayland'),
|
||||
fallback: 'xserver',
|
||||
default_options: [
|
||||
'werror=false',
|
||||
'xorg=false',
|
||||
'xephyr=false',
|
||||
'xwayland=true',
|
||||
'xnest=false',
|
||||
'xvfb=false',
|
||||
],
|
||||
)
|
||||
if not xwayland.found()
|
||||
subdir_done()
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue