ecore-wl: Make "server mode" a global
authorChris Michael <cp.michael@samsung.com>
Mon, 5 Oct 2015 20:40:05 +0000 (16:40 -0400)
committerChris Michael <cp.michael@samsung.com>
Thu, 3 Dec 2015 17:02:40 +0000 (12:02 -0500)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_wayland/ecore_wl.c
src/lib/ecore_wayland/ecore_wl_private.h

index f6e7109..04c4204 100644 (file)
@@ -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 =
 {
index 6d4f677..91b2d54 100644 (file)
@@ -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