forked from enlightenment/efl
wayland: Switch to ecore_wl2_window_commit()
Use ecore_wl2_window_commit() instead of directly calling wl_surface_commit
This commit is contained in:
parent
972633e7e8
commit
a8c44938f3
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 *
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue