From 64b36c67671df2c3116c0c6faa6d20c0e41d3bd1 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 5 Oct 2017 14:07:26 -0500 Subject: [PATCH] ecore_evas_wayland: Use ecore_wl2_false_commit to trigger frame callbacks This will allow us to receive a tick without changing any other state. --- src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c index 4d32bfa..4a92262 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -59,7 +59,7 @@ _ecore_evas_wl_common_animator_register(Ecore_Evas *ee) edata->frame = ecore_wl2_window_frame_callback_add(edata->win, _anim_cb_tick, ee); if (!ecore_wl2_window_pending_get(edata->win) && !ee->in_async_render) - ecore_wl2_window_commit(edata->win, EINA_TRUE); + ecore_wl2_window_false_commit(edata->win); edata->ticking = EINA_TRUE; } @@ -83,7 +83,7 @@ _ecore_evas_wl_common_evas_changed(Ecore_Evas *ee, Eina_Bool changed) edata = (Ecore_Evas_Engine_Wl_Data *)ee->engine.data; if (edata->ticking && !ecore_wl2_window_pending_get(edata->win)) - ecore_wl2_window_commit(edata->win, EINA_TRUE); + ecore_wl2_window_false_commit(edata->win); } static void -- 2.7.4