projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
913e04b
)
avoid setting incorrect geometry during new_client frame calc
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 24 Nov 2015 22:28:08 +0000
(17:28 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 24 Nov 2015 22:28:08 +0000
(17:28 -0500)
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
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_object.c
b/src/bin/e_comp_object.c
index b754cb86367ba377b39d09ad431e687c3ccc2c2b..924b861519946e19d3ae0978738686d39e297ca2 100644
(file)
--- 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);
}