diff options
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r-- | src/lib/ecore_wayland/Ecore_Wayland.h | 2 | ||||
-rw-r--r-- | src/lib/ecore_wayland/ecore_wl_window.c | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h b/src/lib/ecore_wayland/Ecore_Wayland.h index f9b70c7958..424e3db4ec 100644 --- a/src/lib/ecore_wayland/Ecore_Wayland.h +++ b/src/lib/ecore_wayland/Ecore_Wayland.h | |||
@@ -132,7 +132,7 @@ struct _Ecore_Wl_Window | |||
132 | struct | 132 | struct |
133 | { | 133 | { |
134 | int w, h; | 134 | int w, h; |
135 | } saved, server; | 135 | } saved; |
136 | 136 | ||
137 | struct | 137 | struct |
138 | { | 138 | { |
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c index 661e825df0..4c40a62cd9 100644 --- a/src/lib/ecore_wayland/ecore_wl_window.c +++ b/src/lib/ecore_wayland/ecore_wl_window.c | |||
@@ -212,8 +212,6 @@ ecore_wl_window_buffer_attach(Ecore_Wl_Window *win, struct wl_buffer *buffer, in | |||
212 | switch (win->buffer_type) | 212 | switch (win->buffer_type) |
213 | { | 213 | { |
214 | case ECORE_WL_WINDOW_BUFFER_TYPE_EGL_WINDOW: | 214 | case ECORE_WL_WINDOW_BUFFER_TYPE_EGL_WINDOW: |
215 | win->server.w = win->allocation.w; | ||
216 | win->server.h = win->allocation.h; | ||
217 | break; | 215 | break; |
218 | case ECORE_WL_WINDOW_BUFFER_TYPE_EGL_IMAGE: | 216 | case ECORE_WL_WINDOW_BUFFER_TYPE_EGL_IMAGE: |
219 | case ECORE_WL_WINDOW_BUFFER_TYPE_SHM: | 217 | case ECORE_WL_WINDOW_BUFFER_TYPE_SHM: |
@@ -226,9 +224,6 @@ ecore_wl_window_buffer_attach(Ecore_Wl_Window *win, struct wl_buffer *buffer, in | |||
226 | wl_surface_damage(win->surface, 0, 0, | 224 | wl_surface_damage(win->surface, 0, 0, |
227 | win->allocation.w, win->allocation.h); | 225 | win->allocation.w, win->allocation.h); |
228 | wl_surface_commit(win->surface); | 226 | wl_surface_commit(win->surface); |
229 | |||
230 | win->server.w = win->allocation.w; | ||
231 | win->server.h = win->allocation.h; | ||
232 | } | 227 | } |
233 | break; | 228 | break; |
234 | default: | 229 | default: |