bu5hm4n pushed a commit to branch master.

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

commit efe5f9237795f05153bba3663cef74aa90f90956
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed May 23 10:28:05 2018 +0200

    efl_ui_win: always force resize job on first pre-render
    
    Summary:
    ensure that a resize eval occurs after the frame edje has been thawed
    so that sizing will be correct in engines which either still have
    broken size handling (D6019) or have sub-optimal size handling (D6145)
    
    Reviewers: bu5hm4n, cedric
    
    Reviewed By: bu5hm4n
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D6165
---
 src/lib/elementary/efl_ui_win.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index a2e0e62e44..d538af96ec 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -999,6 +999,12 @@ _elm_win_pre_render(Ecore_Evas *ee)
         _elm_win_frame_style_update(sd, 1, 1);
         ELM_WIN_DATA_ALIVE_CHECK(obj, sd);
 
+        /* set this to handle ecore-evas engine code which incorrectly
+         * assumes that a client resize call is the same as a server resize
+         * event, or which has no server event
+         */
+        sd->deferred_resize_job = EINA_TRUE;
+
         /* force initial sizing on frame to enable sizing of content */
         edje_object_size_min_calc(sd->frame_obj, &mw, &mh);
         evas_object_resize(sd->frame_obj, mw, mh);

-- 


Reply via email to