discomfitor pushed a commit to branch efl-1.16.

http://git.enlightenment.org/core/efl.git/commit/?id=70ffd13c6f0fc5b7731520c7cc7d45cdb5d3f808

commit 70ffd13c6f0fc5b7731520c7cc7d45cdb5d3f808
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Nov 13 15:09:03 2015 -0500

    ecore-evas wayland: use correct values when updating wayland window size
    
    by using the geometry from after the request size has been updated,
    scenarios such as the following can be avoided:
    
    [4208305.332] xdg_surface@46.set_window_geometry(0, 0, 1778, 1)
    [4208305.370] xdg_surface@46.set_window_geometry(0, 0, 1778, 250)
    
    @fix
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 5 ++---
 1 file changed, 2 insertions(+), 3 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 634343b..ef0e7e1 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
@@ -603,9 +603,6 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
           }
      }
 
-   if (wdata->win)
-     ecore_wl_window_update_size(wdata->win, ee->req.w, ee->req.h);
-
    evas_output_size_get(ee->evas, &ow, &oh);
    if ((ow != w) || (oh != h))
      {
@@ -639,6 +636,8 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
 
         if (ee->func.fn_resize) ee->func.fn_resize(ee);
      }
+   if (wdata->win)
+     ecore_wl_window_update_size(wdata->win, ee->req.w, ee->req.h);
 }
 
 void

-- 


Reply via email to