summaryrefslogtreecommitdiff
path: root/src/modules
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/modules
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/modules')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c7
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c10
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c10
3 files changed, 2 insertions, 25 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 2bb1aab75d..de87aff1c9 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -277,14 +277,7 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
277 277
278 if (wdata->win) 278 if (wdata->win)
279 { 279 {
280 Ecore_Wl_Window *win;
281
282 win = wdata->win;
283
284 _ecore_evas_wayland_resize_edge_set(ee, ev->edges); 280 _ecore_evas_wayland_resize_edge_set(ee, ev->edges);
285
286 win->server.w = win->allocation.w;
287 win->server.h = win->allocation.h;
288 ecore_wl_window_update_size(wdata->win, ev->w, ev->h); 281 ecore_wl_window_update_size(wdata->win, ev->w, ev->h);
289 } 282 }
290 } 283 }
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
index 1709c50acf..e0bb74319d 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
@@ -325,15 +325,7 @@ _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h)
325 evas_object_resize(wdata->frame, w, h); 325 evas_object_resize(wdata->frame, w, h);
326 326
327 if (wdata->win) 327 if (wdata->win)
328 { 328 ecore_wl_window_update_size(wdata->win, w, h);
329 Ecore_Wl_Window *win;
330
331 win = wdata->win;
332
333 win->server.w = win->allocation.w;
334 win->server.h = win->allocation.h;
335 ecore_wl_window_update_size(wdata->win, w, h);
336 }
337 329
338 if (ee->func.fn_resize) ee->func.fn_resize(ee); 330 if (ee->func.fn_resize) ee->func.fn_resize(ee);
339 } 331 }
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
index 05060a7e3f..55421736d4 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
@@ -319,15 +319,7 @@ _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h)
319 evas_object_resize(wdata->frame, w, h); 319 evas_object_resize(wdata->frame, w, h);
320 320
321 if (wdata->win) 321 if (wdata->win)
322 { 322 ecore_wl_window_update_size(wdata->win, w, h);
323 Ecore_Wl_Window *win;
324
325 win = wdata->win;
326
327 win->server.w = win->allocation.w;
328 win->server.h = win->allocation.h;
329 ecore_wl_window_update_size(wdata->win, w, h);
330 }
331 323
332 if (ee->func.fn_resize) ee->func.fn_resize(ee); 324 if (ee->func.fn_resize) ee->func.fn_resize(ee);
333 } 325 }