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

@ -49,9 +49,9 @@ git = find_program('git', required: false)
conf_data = configuration_data()
if get_option('enable-xwayland')
conf_data.set('HAVE_XWAYLAND', true)
conf_data.set('HAVE_XWAYLAND', true)
else
conf_data.set('HAVE_XWAYLAND', false)
conf_data.set('HAVE_XWAYLAND', false)
endif
if gdk_pixbuf.found()