discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0ed63ede7cce8d712f07f0e184e52aa59ec8aabb

commit 0ed63ede7cce8d712f07f0e184e52aa59ec8aabb
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Nov 24 17:28:08 2015 -0500

    avoid setting incorrect geometry during new_client frame calc
    
    in the case where a client has no geometry set, attempting to update
    the client's geometry during frame recalc will guarantee that wrong
    geometry is set, resulting in a bad first frame
---
 src/bin/e_comp_object.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index b754cb8..924b861 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1788,6 +1788,7 @@ _e_comp_smart_cb_frame_recalc(void *data, Evas_Object 
*obj, void *event_info EIN
      evas_object_resize(cw->ec->frame, cw->ec->zone->w, cw->ec->zone->h);
    else if (cw->ec->new_client)
      {
+        if ((cw->ec->w < 1) || (cw->ec->h < 1)) return;
         e_comp_object_frame_wh_adjust(obj, pw, ph, &w, &h);
         evas_object_resize(cw->ec->frame, w, h);
      }

-- 


Reply via email to