summaryrefslogtreecommitdiff
path: root/sway/meson.build
diff options
context:
space:
mode:
authorPascal Pascher <[email protected]>2018-07-24 23:37:41 +0200
committerPascal Pascher <[email protected]>2018-07-24 23:37:41 +0200
commit2bf893248a94c7f70a9557aad4a8228731041eeb (patch)
treeec86137e1b5881151b20917f311ecce3d24fba8f /sway/meson.build
parent24ad1c3983192b47345566fd876e26b45160d68e (diff)
style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
Diffstat (limited to 'sway/meson.build')
-rw-r--r--sway/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/sway/meson.build b/sway/meson.build
index 30c848e2..649a3ac2 100644
--- a/sway/meson.build
+++ b/sway/meson.build
@@ -18,7 +18,6 @@ sway_sources = files(
'desktop/transaction.c',
'desktop/xdg_shell_v6.c',
'desktop/xdg_shell.c',
- 'desktop/xwayland.c',
'input/input-manager.c',
'input/seat.c',
@@ -152,6 +151,10 @@ sway_sources = files(
'tree/output.c',
)
+if get_option('enable-xwayland')
+ sway_sources += 'desktop/xwayland.c'
+endif
+
sway_deps = [
cairo,
gdk_pixbuf,