mirror of
https://github.com/swaywm/sway.git
synced 2024-10-31 21:47:24 +00:00
build: fix have_xwayland when xcb-icccm is not found
xcb-icccm is required to build Xwayland support.
Backported from commit d41f11e6bd
.
This commit is contained in:
parent
baf027fc5b
commit
194fdc6c35
|
@ -83,7 +83,7 @@ endforeach
|
||||||
if get_option('xwayland').enabled() and not wlroots_features['xwayland']
|
if get_option('xwayland').enabled() and not wlroots_features['xwayland']
|
||||||
error('Cannot enable Xwayland in sway: wlroots has been built without Xwayland support')
|
error('Cannot enable Xwayland in sway: wlroots has been built without Xwayland support')
|
||||||
endif
|
endif
|
||||||
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