derekf pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a8c44938f33c54e6efab6a45b536d82ef72b0702
commit a8c44938f33c54e6efab6a45b536d82ef72b0702 Author: Derek Foreman <der...@osg.samsung.com> Date: Mon Aug 14 18:48:58 2017 -0500 wayland: Switch to ecore_wl2_window_commit() Use ecore_wl2_window_commit() instead of directly calling wl_surface_commit --- src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 2 +- src/modules/evas/engines/wayland_shm/evas_dmabuf.c | 4 ++-- src/modules/evas/engines/wayland_shm/evas_shm.c | 2 +- 3 files changed, 4 insertions(+), 4 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 51a55e417b..4fac885900 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 @@ -475,7 +475,7 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_ wdata->win->zxdg_configure_ack(wdata->win->zxdg_surface, wdata->win->configure_serial); wdata->win->configure_serial = 0; - wl_surface_commit(wdata->win->surface); + ecore_wl2_window_commit(wdata->win, EINA_TRUE); } return ECORE_CALLBACK_RENEW; } diff --git a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c index 40867d3a96..24063eafd0 100644 --- a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c +++ b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c @@ -504,7 +504,7 @@ _create_succeeded(void *data, wl_surface_attach(wls, b->wl_buffer, 0, 0); _evas_surface_damage(wls, b->surface->compositor_version, b->w, b->h, NULL, 0); - wl_surface_commit(wls); + ecore_wl2_window_commit(b->surface->surface->info->info.wl2_win, EINA_TRUE); b->surface->pre = NULL; b->busy = EINA_FALSE; } @@ -706,7 +706,7 @@ _evas_dmabuf_surface_post(Surface *s, Eina_Rectangle *rects, unsigned int count, else wl_surface_attach(wls, NULL, 0, 0); - wl_surface_commit(wls); + ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE); } static Dmabuf_Buffer * diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c b/src/modules/evas/engines/wayland_shm/evas_shm.c index 2edb9ee985..90f1eb2b8c 100644 --- a/src/modules/evas/engines/wayland_shm/evas_shm.c +++ b/src/modules/evas/engines/wayland_shm/evas_shm.c @@ -558,7 +558,7 @@ _evas_shm_surface_post(Surface *s, Eina_Rectangle *rects, unsigned int count, Ei else wl_surface_attach(wls, NULL, 0, 0); - wl_surface_commit(wls); + ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE); leaf->busy = EINA_TRUE; leaf->drawn = EINA_TRUE; --