aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-10-05 16:11:52 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-10-05 16:47:32 -0400
commit571c67c6a574de664ff811f3d6e9ddace9474e9c (patch)
treee1a1e90e49913432c9be3842bd79a514d6ee6c62 /src/lib/ecore_wayland
parentecore-evas-wayland-egl: Add support for custom Ecore_Wl animator (diff)
downloadefl-571c67c6a574de664ff811f3d6e9ddace9474e9c.tar.gz
ecore-wayland: Don't use custom animator when in server mode
Signed-off-by: Chris Michael <cp.michael@samsung.com> Reviewed-by: @zmike necessary to avoid breaking the compositor canvas animator
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index b9ad8543dd..d777fb38a3 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -447,6 +447,8 @@ ecore_wl_animator_source_set(Ecore_Animator_Source source)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
+ if (_ecore_wl_server_mode) return EINA_FALSE;
+
/* FIXME: check existing source. If custom, disable anim_callbacks */
/* based on the animator source we are using, setup or destroy callbacks */