style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false

This commit is contained in:
Pascal Pascher 2018-07-24 23:37:41 +02:00
parent 24ad1c3983
commit 2bf893248a
17 changed files with 51 additions and 50 deletions

View file

@ -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,