aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2018-08-22 20:27:37 +1200
committerScott Anderson <scott@anderso.nz>2018-08-22 20:27:37 +1200
commit784c20c82fb6fb84c5ce49993b5a2ec0bda13475 (patch)
treee106a1e91607f78c1fe0a7ebe5e1f3125d5ee3bb /rootston
parent94ed2fc7bbe9f673f064d3cc5e6841a3879a4268 (diff)
Use new options for X11 backend and Xwayland
Diffstat (limited to 'rootston')
-rw-r--r--rootston/meson.build6
1 files changed, 4 insertions, 2 deletions
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]
)