Change-Id: I5d16778ff93a181f07d261acdab8b042f2ea6914
struct tizen_embedded_compositor *tec = NULL;
int fd = -1;
+ if (ecore_wl_server_mode_get())
+ return -1;
+
l = ecore_wl_globals_get();
if (!l)
{
*/
EAPI void ecore_wl_server_mode_set(Eina_Bool on);
+EAPI Eina_Bool ecore_wl_server_mode_get(void);
+
/**
* @defgroup Ecore_Wl_Subsurf Functions to manipulate subsurfaces.
* @ingroup Ecore_Wl_Group
_ecore_wl_server_mode = on;
}
+EAPI Eina_Bool
+ecore_wl_server_mode_get(void)
+{
+ return _ecore_wl_server_mode;
+}
+
/* local functions */
static int
_ecore_wl_shutdown(Eina_Bool close)