forked from enlightenment/efl
Set the surface user data to be the current buffer.
NB: This is needed because some compositors (Weston) are expecting wl_surface_get_user_data to return a buffer. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
8c9353e3ec
commit
bfc7e7cfd1
|
@ -486,6 +486,7 @@ _evas_swapper_buffer_put(Wl_Swapper *ws, Wl_Buffer *wb, Eina_Rectangle *rects, u
|
|||
if (sent != wb)
|
||||
{
|
||||
wl_surface_attach(ws->surface, wb->buffer, ws->dx, ws->dy);
|
||||
wl_surface_set_user_data(ws->surface, wb->buffer);
|
||||
ws->dx = 0;
|
||||
ws->dy = 0;
|
||||
sent = wb;
|
||||
|
|
Loading…
Reference in New Issue