diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-28 20:09:10 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-11-29 11:47:21 -0500 |
commit | d41f11e6bd8cef80f02dda4c66d4a31611aed753 (patch) | |
tree | 5c3cdbba1723af492089524ed87c55e6b5fc0dc5 | |
parent | build: move completions to separate file (diff) | |
download | sway-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.
-rw-r--r-- | meson.build | 2 |
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') | |||
86 | xcb_icccm = dependency('xcb-icccm', required: get_option('xwayland')) | 86 | xcb_icccm = dependency('xcb-icccm', required: get_option('xwayland')) |
87 | threads = dependency('threads') # for pthread_setschedparam | 87 | threads = dependency('threads') # for pthread_setschedparam |
88 | 88 | ||
89 | have_xwayland = xcb.found() and wlroots_features['xwayland'] | 89 | have_xwayland = xcb.found() and xcb_icccm.found() and wlroots_features['xwayland'] |
90 | 90 | ||
91 | if get_option('sd-bus-provider') == 'auto' | 91 | if get_option('sd-bus-provider') == 'auto' |
92 | if not get_option('tray').disabled() | 92 | if not get_option('tray').disabled() |