discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=78c2f1e659b12440cbf6c5f646924da4bf5160c1

commit 78c2f1e659b12440cbf6c5f646924da4bf5160c1
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed May 2 15:57:21 2018 -0400

    efl_ui_win: ignore attempts to resize window to 0x0 during frame sizing
    
    Summary:
    in many cases, a 0x0 size is found here as a result of various quirks at
    different states of window initialization. passing 0x0 will clamp the size
    to 1x1 and, for some engines, create a race condition during initial
    sizing which causes the window not to render
    
    ref T6907
    
    Reviewers: cedric, ManMower, vtorri
    
    Reviewed By: vtorri
    
    Subscribers: raster, stefan_schmidt
    
    Tags: #efl
    
    Maniphest Tasks: T6907
    
    Differential Revision: https://phab.enlightenment.org/D6016
---
 src/lib/elementary/efl_ui_win.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 7f90d3ff58..f273b7dc4f 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1536,7 +1536,8 @@ _elm_win_frame_obj_update(Efl_Ui_Win_Data *sd, Eina_Bool 
force)
      evas_object_geometry_get(sd->obj, NULL, NULL, &w, &h);
    else
      w = ow, h = oh;
-   TRAP(sd, resize, w, h);
+   if (w && h)
+     TRAP(sd, resize, w, h);
 }
 
 static void

-- 


Reply via email to