discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2749775c742e6080123ac8954230e2c392ea0ca9

commit 2749775c742e6080123ac8954230e2c392ea0ca9
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Mar 23 17:41:29 2016 -0400

    elm_win: force resize during show if job is pending
    
    this resolves the issue of all elm windows being created at 1x1 and
    immediately resizing to another size after being shown, causing all
    kinds of failures in various environments
    
    @fix
---
 src/lib/elementary/elm_win.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elementary/elm_win.c b/src/lib/elementary/elm_win.c
index f903154..9daa7bb 100644
--- a/src/lib/elementary/elm_win.c
+++ b/src/lib/elementary/elm_win.c
@@ -1604,6 +1604,8 @@ _elm_win_evas_object_smart_show(Eo *obj, Elm_Win_Data *sd)
         INCREMENT_MODALITY()
      }
 
+   if (sd->deferred_resize_job)
+     _elm_win_resize_job(sd->obj);
    evas_smart_objects_calculate(evas_object_evas_get(obj));
 
    TRAP(sd, show);

-- 


Reply via email to