fix meson wayland-only detection when xwayland is enabled

This commit is contained in:
Mike Blumenkrantz 2017-09-22 10:31:44 -04:00
parent 2f51262833
commit 9f6d50ddf8
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ if get_option('wayland') == true
endif
dep_ecore_x = []
if get_option('wayland') == true and get_option('wl-x11') == false and get_option('xwayland')
if get_option('wayland') == true and get_option('wl-x11') == false and get_option('xwayland') == false
config_h.set('HAVE_WAYLAND_ONLY', '1')
else
dep_ecore_x = dependency('ecore-x')