discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=571c67c6a574de664ff811f3d6e9ddace9474e9c

commit 571c67c6a574de664ff811f3d6e9ddace9474e9c
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Oct 5 16:11:52 2015 -0400

    ecore-wayland: Don't use custom animator when in server mode
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
    
    Reviewed-by: @zmike
    
    necessary to avoid breaking the compositor canvas animator
---
 src/lib/ecore_wayland/ecore_wl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index b9ad854..d777fb3 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 */

-- 


Reply via email to