Commit 4cf7db6d authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

meson: drop indent level from xwayland



Use the pattern to avoid identing everything, when everything in the
file is under the one conditional.

Helps readability.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
parent b423edec
if get_option('xwayland') if not get_option('xwayland')
srcs_xwayland = [ subdir_done()
endif
srcs_xwayland = [
'launcher.c', 'launcher.c',
'window-manager.c', 'window-manager.c',
'selection.c', 'selection.c',
'dnd.c', 'dnd.c',
'hash.c', 'hash.c',
] ]
deps_xwayland = [ deps_xwayland = [
dependency('xcb'), dependency('xcb'),
dependency('xcb-composite'), dependency('xcb-composite'),
dependency('xcb-shape'), dependency('xcb-shape'),
...@@ -14,8 +17,8 @@ if get_option('xwayland') ...@@ -14,8 +17,8 @@ if get_option('xwayland')
dependency('xcursor'), dependency('xcursor'),
dependency('cairo-xcb'), dependency('cairo-xcb'),
dep_libweston, dep_libweston,
] ]
plugin_xwayland = shared_library( plugin_xwayland = shared_library(
'xwayland', 'xwayland',
srcs_xwayland, srcs_xwayland,
link_with: lib_cairo_shared, link_with: lib_cairo_shared,
...@@ -24,8 +27,7 @@ if get_option('xwayland') ...@@ -24,8 +27,7 @@ if get_option('xwayland')
name_prefix: '', name_prefix: '',
install: true, install: true,
install_dir: dir_module_libweston install_dir: dir_module_libweston
) )
env_modmap += 'xwayland.so=@0@;'.format(plugin_xwayland.full_path()) env_modmap += 'xwayland.so=@0@;'.format(plugin_xwayland.full_path())
install_headers('xwayland-api.h', subdir: dir_include_libweston) install_headers('xwayland-api.h', subdir: dir_include_libweston)
endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment