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
This commit is contained in:
Chris Michael 2015-10-05 16:11:52 -04:00 committed by Mike Blumenkrantz
parent bce8a82268
commit 571c67c6a5
1 changed files with 2 additions and 0 deletions

View File

@ -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 */