diff options
author | Rafael Antognolli <rafael.antognolli@intel.com> | 2013-11-01 10:28:14 -0200 |
---|---|---|
committer | Rafael Antognolli <rafael.antognolli@intel.com> | 2013-11-01 10:30:29 -0200 |
commit | 277a5915c1f5451f0e5ad740df9159f334af441d (patch) | |
tree | e5b4d868d10623188c1e2e5fcb9c0f49f80e9208 /src/lib/ecore_wayland/ecore_wl_window.c | |
parent | a96b421fd496bc7ec851f167d06102e46d1d835b (diff) |
ecore/wayland: Remove attributes that are not used anymore.
Some attributes might have been useful in the past, but not anymore.
Just remove since they are not been used anywhere.
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_wayland/ecore_wl_window.c | 5 |
1 files changed, 0 insertions, 5 deletions
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: |