summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_surface.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-01-26 11:18:06 -0600
committerDerek Foreman <derekf@osg.samsung.com>2018-01-26 15:54:00 -0600
commit7c026c52ccb057ec843ec2f917c82f0ec8f8d0cc (patch)
tree1f84357435a4658353db8bbaf90397aa1aef334b /src/lib/ecore_wl2/ecore_wl2_surface.c
parent4d430a98bfef0df78836d5458bc2c4c4282ca558 (diff)
ecore_wl2: Move surface size update into generic code
This didn't have to be in backend code in the first place.
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_surface.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_surface.c4
1 files 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
44 ecore_wl2_buffer_destroy(b); 44 ecore_wl2_buffer_destroy(b);
45 s->buffers = eina_list_remove_list(s->buffers, l); 45 s->buffers = eina_list_remove_list(s->buffers, l);
46 } 46 }
47 s->w = w;
48 s->h = h;
49} 47}
50 48
51static void * 49static void *
@@ -183,6 +181,8 @@ ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t
183 EINA_SAFETY_ON_NULL_RETURN(surface); 181 EINA_SAFETY_ON_NULL_RETURN(surface);
184 182
185 surface->funcs->reconfigure(surface, w, h, flags); 183 surface->funcs->reconfigure(surface, w, h, flags);
184 surface->w = w;
185 surface->h = h;
186} 186}
187 187
188EAPI void * 188EAPI void *