devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=518531ea0052b5196d20b7c93bd01825f5f4711f

commit 518531ea0052b5196d20b7c93bd01825f5f4711f
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Oct 5 16:32:11 2015 -0400

    ecore-wayland: Add support for using timer based animators if in
    server mode
    
    Summary: For E internal windows, we cannot use custom animator sources
    due to Other animators using a timer-based solution. For this case,
    when running in "server mode" for internal windows we will default to
    a timer based animator solution.
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wayland/ecore_wl_window.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/ecore_wayland/ecore_wl_window.c 
b/src/lib/ecore_wayland/ecore_wl_window.c
index 982dfd5..d61d781 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -226,7 +226,11 @@ ecore_wl_window_new(Ecore_Wl_Window *parent, int x, int y, 
int w, int h, int buf
    win->title = NULL;
    win->class_name = NULL;
 
+   if (_ecore_wl_server_mode)
+     win->animator = ecore_animator_add(_ecore_wl_window_cb_animate, win);
+
    eina_hash_add(_windows, _ecore_wl_window_id_str_get(win->id), win);
+
    return win;
 }
 

-- 


Reply via email to