summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-11-01 10:28:14 -0200
committerRafael Antognolli <rafael.antognolli@intel.com>2013-11-01 10:30:29 -0200
commit277a5915c1f5451f0e5ad740df9159f334af441d (patch)
treee5b4d868d10623188c1e2e5fcb9c0f49f80e9208 /src/lib
parenta96b421fd496bc7ec851f167d06102e46d1d835b (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 'src/lib')
-rw-r--r--src/lib/ecore_wayland/Ecore_Wayland.h2
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c5
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: