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
This commit is contained in:
parent
eb4ed14e2a
commit
a30c4b574e
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue