summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-14 18:48:58 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-18 14:27:32 -0500
commita8c44938f33c54e6efab6a45b536d82ef72b0702 (patch)
treefae067f9e57a991826c04325f21680fb9445f6c8
parent972633e7e8bf59d3df4f4c810e7403a05b9f5174 (diff)
downloadefl-a8c44938f33c54e6efab6a45b536d82ef72b0702.tar.gz
wayland: Switch to ecore_wl2_window_commit()
Use ecore_wl2_window_commit() instead of directly calling wl_surface_commit
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c2
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_dmabuf.c4
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_shm.c2
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;