derekf pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7c026c52ccb057ec843ec2f917c82f0ec8f8d0cc
commit 7c026c52ccb057ec843ec2f917c82f0ec8f8d0cc Author: Derek Foreman <[email protected]> Date: Fri Jan 26 11:18:06 2018 -0600 ecore_wl2: Move surface size update into generic code This didn't have to be in backend code in the first place. --- src/lib/ecore_wl2/ecore_wl2_surface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_wl2/ecore_wl2_surface.c b/src/lib/ecore_wl2/ecore_wl2_surface.c index f9c1d8bc7d..cfc7792b86 100644 --- a/src/lib/ecore_wl2/ecore_wl2_surface.c +++ b/src/lib/ecore_wl2/ecore_wl2_surface.c @@ -44,8 +44,6 @@ _evas_dmabuf_surface_reconfigure(Ecore_Wl2_Surface *s, int w, int h, uint32_t fl ecore_wl2_buffer_destroy(b); s->buffers = eina_list_remove_list(s->buffers, l); } - s->w = w; - s->h = h; } static void * @@ -183,6 +181,8 @@ ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t EINA_SAFETY_ON_NULL_RETURN(surface); surface->funcs->reconfigure(surface, w, h, flags); + surface->w = w; + surface->h = h; } EAPI void * --
