From 51141dd11e9adfb1d26e22166adc2a4c9c10bcfe Mon Sep 17 00:00:00 2001 From: Cedric Sodhi Date: Fri, 23 Mar 2018 10:28:36 +0100 Subject: Minor corrections --- backend/backend.c | 4 +++- meson.build | 2 +- meson_options.txt | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/backend.c b/backend/backend.c index 58ac756e..96e155dc 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -11,7 +11,9 @@ #include #include #include -#include +#ifdef WLR_HAS_X11_BACKEND +# include +#endif #include void wlr_backend_init(struct wlr_backend *backend, diff --git a/meson.build b/meson.build index e7fa9890..e3c9a315 100644 --- a/meson.build +++ b/meson.build @@ -185,7 +185,7 @@ summary = [ ' systemd: @0@'.format(conf_data.get('WLR_HAS_SYSTEMD', false)), ' elogind: @0@'.format(conf_data.get('WLR_HAS_ELOGIND', false)), ' xwayland: @0@'.format(conf_data.get('WLR_HAS_XWAYLAND', false)), - ' x11_backend: @0@'.format(conf_data.get('WLR_HAS_X11BACKEND', false)), + ' x11_backend: @0@'.format(conf_data.get('WLR_HAS_X11_BACKEND', false)), ' xcb-icccm: @0@'.format(conf_data.get('WLR_HAS_XCB_ICCCM', false)), ' xcb-errors: @0@'.format(conf_data.get('WLR_HAS_XCB_ERRORS', false)), '----------------', diff --git a/meson_options.txt b/meson_options.txt index dae22b55..9e8567d0 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -3,4 +3,4 @@ option('enable_systemd', type: 'combo', choices: ['auto', 'true', 'false'], valu option('enable_elogind', type: 'combo', choices: ['auto', 'true', 'false'], value: 'auto', description: 'Enable support for logind') option('enable_xcb_errors', type: 'combo', choices: ['auto', 'true', 'false'], value: 'auto', description: 'Use xcb-errors util library') option('enable_xwayland', type: 'boolean', value: true, description: 'Enable support X11 applications') -option('enable_x11_backend', type: 'boolean', value: false, description: 'Enable X11 backend') +option('enable_x11_backend', type: 'boolean', value: true, description: 'Enable X11 backend') -- cgit v1.2.3