forked from enlightenment/efl
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>
This commit is contained in:
parent
320733ecd7
commit
518531ea00
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue