From 784c20c82fb6fb84c5ce49993b5a2ec0bda13475 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 22 Aug 2018 20:27:37 +1200 Subject: Use new options for X11 backend and Xwayland --- rootston/meson.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rootston') diff --git a/rootston/meson.build b/rootston/meson.build index 8ab872b5..b461e1a0 100644 --- a/rootston/meson.build +++ b/rootston/meson.build @@ -14,9 +14,11 @@ sources = [ 'xdg_shell_v6.c', 'xdg_shell.c', ] -if get_option('enable-xwayland') - sources += ['xwayland.c'] + +if conf_data.get('WLR_HAS_XWAYLAND', false) + sources += 'xwayland.c' endif + executable( 'rootston', sources, dependencies: [wlroots, wlr_protos, pixman] ) -- cgit v1.2.3