devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=32eb2d32c4c57d46f8a51fc51bc85e0cc296da10

commit 32eb2d32c4c57d46f8a51fc51bc85e0cc296da10
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Dec 7 15:32:58 2015 -0500

    ecore-evas-wayland: Don't set window geometry in ecore_evas
    
    As we do not have the proper values for window geometry to be setting
    it here, remove calls to set window geometry. We can more accurately
    determine the window geometry from inside Elementary as it handles the
    theme for the window borders.
    
    @fix
    
    ref T2919
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 .../ecore_evas/engines/wayland/ecore_evas_wayland_common.c    | 11 +----------
 1 file changed, 1 insertion(+), 10 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 0a36eec..f0f5f92 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
@@ -649,14 +649,6 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
         if (wdata->frame)
           evas_object_resize(wdata->frame, w, h);
 
-        if (wdata->win)
-          {
-             if (ECORE_EVAS_PORTRAIT(ee))
-               ecore_wl2_window_geometry_set(wdata->win, 0, 0, w, h);
-             else
-               ecore_wl2_window_geometry_set(wdata->win, 0, 0, h, w);
-          }
-
         if (ee->func.fn_resize) ee->func.fn_resize(ee);
      }
 }
@@ -1190,8 +1182,7 @@ _ecore_evas_wl_common_border_update(Ecore_Evas *ee)
    Ecore_Evas_Engine_Wl_Data *wdata;
 
    wdata = ee->engine.data;
-   if (!wdata->frame)
-     return;
+   if (!wdata->frame) return;
 
    if ((ee->prop.borderless) || (ee->prop.fullscreen))
      {

-- 


Reply via email to