summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-10-05 16:40:05 -0400
committerChris Michael <cp.michael@samsung.com>2015-12-03 12:02:40 -0500
commit0a4660c77dd2967896b4ae6a216bf01ac4de3e7b (patch)
treec028f635aa32e549a928ac2e2bbf0856ef32cf33 /src/lib/ecore_wayland
parent518531ea0052b5196d20b7c93bd01825f5f4711f (diff)
ecore-wl: Make "server mode" a global
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl.c2
-rw-r--r--src/lib/ecore_wayland/ecore_wl_private.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index f6e71097fe..04c420408a 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
43static int _ecore_wl_init_count = 0; 43static int _ecore_wl_init_count = 0;
44static Eina_Bool _ecore_wl_animator_busy = EINA_FALSE; 44static Eina_Bool _ecore_wl_animator_busy = EINA_FALSE;
45static Eina_Bool _ecore_wl_fatal_error = EINA_FALSE; 45static Eina_Bool _ecore_wl_fatal_error = EINA_FALSE;
46static Eina_Bool _ecore_wl_server_mode = EINA_FALSE; 46Eina_Bool _ecore_wl_server_mode = EINA_FALSE;
47 47
48static const struct wl_registry_listener _ecore_wl_registry_listener = 48static const struct wl_registry_listener _ecore_wl_registry_listener =
49{ 49{
diff --git a/src/lib/ecore_wayland/ecore_wl_private.h b/src/lib/ecore_wayland/ecore_wl_private.h
index 6d4f6776df..91b2d548d4 100644
--- a/src/lib/ecore_wayland/ecore_wl_private.h
+++ b/src/lib/ecore_wayland/ecore_wl_private.h
@@ -22,6 +22,7 @@
22# endif 22# endif
23 23
24extern int _ecore_wl_log_dom; 24extern int _ecore_wl_log_dom;
25extern Eina_Bool _ecore_wl_server_mode;
25 26
26# ifdef ECORE_WL_DEFAULT_LOG_COLOR 27# ifdef ECORE_WL_DEFAULT_LOG_COLOR
27# undef ECORE_WL_DEFAULT_LOG_COLOR 28# undef ECORE_WL_DEFAULT_LOG_COLOR