Skip to content

Commit

Permalink
meson.build: fix autodetection of xwayland support
Browse files Browse the repository at this point in the history
This is a regression introduced in #2226
  • Loading branch information
ammen99 committed Mar 22, 2024
1 parent 243dc2e commit 1316e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ if get_option('xwayland').enabled() and not wlroots_features['xwayland']
error('Cannot enable Xwayland in wayfire: wlroots has been built without Xwayland support')
endif

if get_option('xwayland').enabled()
if get_option('xwayland').enabled() or (get_option('xwayland').auto() and wlroots_features['xwayland'])
xcb = dependency('xcb')
conf_data.set('WF_HAS_XWAYLAND', 1)
else
Expand Down

0 comments on commit 1316e80

Please sign in to comment.