mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00:00
build: fix have_xwayland when xcb-icccm is not found
xcb-icccm is required to build Xwayland support.
This commit is contained in:
parent
a358d6760e
commit
d41f11e6bd
|
@ -86,7 +86,7 @@ rt = cc.find_library('rt')
|
||||||
xcb_icccm = dependency('xcb-icccm', required: get_option('xwayland'))
|
xcb_icccm = dependency('xcb-icccm', required: get_option('xwayland'))
|
||||||
threads = dependency('threads') # for pthread_setschedparam
|
threads = dependency('threads') # for pthread_setschedparam
|
||||||
|
|
||||||
have_xwayland = xcb.found() and wlroots_features['xwayland']
|
have_xwayland = xcb.found() and xcb_icccm.found() and wlroots_features['xwayland']
|
||||||
|
|
||||||
if get_option('sd-bus-provider') == 'auto'
|
if get_option('sd-bus-provider') == 'auto'
|
||||||
if not get_option('tray').disabled()
|
if not get_option('tray').disabled()
|
||||||
|
|
Loading…
Reference in a new issue