aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-10-05 16:32:11 -0400
committerChris Michael <cp.michael@samsung.com>2015-12-03 12:02:40 -0500
commit518531ea0052b5196d20b7c93bd01825f5f4711f (patch)
tree55d0ff9c6fbe05767f75ec2c661cf785c6214308 /src/lib/ecore_wayland
parentEdje entry: Use markup text for password in preedit mode (diff)
downloadefl-518531ea0052b5196d20b7c93bd01825f5f4711f.tar.gz
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.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index 982dfd52e4..d61d78159c 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;
}