aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2022-11-28 20:09:10 +0100
committerLibravatar Simon Zeni <simon@bl4ckb0ne.ca>2022-11-29 11:47:21 -0500
commitd41f11e6bd8cef80f02dda4c66d4a31611aed753 (patch)
tree5c3cdbba1723af492089524ed87c55e6b5fc0dc5 /meson.build
parentbuild: move completions to separate file (diff)
downloadsway-d41f11e6bd8cef80f02dda4c66d4a31611aed753.tar.gz
sway-d41f11e6bd8cef80f02dda4c66d4a31611aed753.tar.zst
sway-d41f11e6bd8cef80f02dda4c66d4a31611aed753.zip
build: fix have_xwayland when xcb-icccm is not found
xcb-icccm is required to build Xwayland support.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index e22bc36e..fa008332 100644
--- a/meson.build
+++ b/meson.build
@@ -86,7 +86,7 @@ rt = cc.find_library('rt')
86xcb_icccm = dependency('xcb-icccm', required: get_option('xwayland')) 86xcb_icccm = dependency('xcb-icccm', required: get_option('xwayland'))
87threads = dependency('threads') # for pthread_setschedparam 87threads = dependency('threads') # for pthread_setschedparam
88 88
89have_xwayland = xcb.found() and wlroots_features['xwayland'] 89have_xwayland = xcb.found() and xcb_icccm.found() and wlroots_features['xwayland']
90 90
91if get_option('sd-bus-provider') == 'auto' 91if get_option('sd-bus-provider') == 'auto'
92 if not get_option('tray').disabled() 92 if not get_option('tray').disabled()