aboutsummaryrefslogtreecommitdiffstats
path: root/sway/meson.build
diff options
context:
space:
mode:
authorLibravatar Pascal Pascher <aur@clouddrop.de>2018-07-24 23:37:41 +0200
committerLibravatar Pascal Pascher <aur@clouddrop.de>2018-07-24 23:37:41 +0200
commit2bf893248a94c7f70a9557aad4a8228731041eeb (patch)
treeec86137e1b5881151b20917f311ecce3d24fba8f /sway/meson.build
parentAdded meson option "enable_xwayland" (default: true) to enable/disable xwayla... (diff)
downloadsway-2bf893248a94c7f70a9557aad4a8228731041eeb.tar.gz
sway-2bf893248a94c7f70a9557aad4a8228731041eeb.tar.zst
sway-2bf893248a94c7f70a9557aad4a8228731041eeb.zip
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(
18 'desktop/transaction.c', 18 'desktop/transaction.c',
19 'desktop/xdg_shell_v6.c', 19 'desktop/xdg_shell_v6.c',
20 'desktop/xdg_shell.c', 20 'desktop/xdg_shell.c',
21 'desktop/xwayland.c',
22 21
23 'input/input-manager.c', 22 'input/input-manager.c',
24 'input/seat.c', 23 'input/seat.c',
@@ -152,6 +151,10 @@ sway_sources = files(
152 'tree/output.c', 151 'tree/output.c',
153) 152)
154 153
154if get_option('enable-xwayland')
155 sway_sources += 'desktop/xwayland.c'
156endif
157
155sway_deps = [ 158sway_deps = [
156 cairo, 159 cairo,
157 gdk_pixbuf, 160 gdk_pixbuf,