From 0a4660c77dd2967896b4ae6a216bf01ac4de3e7b Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 5 Oct 2015 16:40:05 -0400 Subject: [PATCH] ecore-wl: Make "server mode" a global Signed-off-by: Chris Michael --- src/lib/ecore_wayland/ecore_wl.c | 2 +- src/lib/ecore_wayland/ecore_wl_private.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c index f6e7109..04c4204 100644 --- a/src/lib/ecore_wayland/ecore_wl.c +++ b/src/lib/ecore_wayland/ecore_wl.c @@ -43,7 +43,7 @@ static void _ecore_wl_init_callback(void *data, struct wl_callback *callback, ui static int _ecore_wl_init_count = 0; static Eina_Bool _ecore_wl_animator_busy = EINA_FALSE; static Eina_Bool _ecore_wl_fatal_error = EINA_FALSE; -static Eina_Bool _ecore_wl_server_mode = EINA_FALSE; +Eina_Bool _ecore_wl_server_mode = EINA_FALSE; static const struct wl_registry_listener _ecore_wl_registry_listener = { diff --git a/src/lib/ecore_wayland/ecore_wl_private.h b/src/lib/ecore_wayland/ecore_wl_private.h index 6d4f677..91b2d54 100644 --- a/src/lib/ecore_wayland/ecore_wl_private.h +++ b/src/lib/ecore_wayland/ecore_wl_private.h @@ -22,6 +22,7 @@ # endif extern int _ecore_wl_log_dom; +extern Eina_Bool _ecore_wl_server_mode; # ifdef ECORE_WL_DEFAULT_LOG_COLOR # undef ECORE_WL_DEFAULT_LOG_COLOR -- 2.7.4