win: Simplify sizing recalc

This amends the previous patch. Some moer testing showed that the
deferred resize flag was in fact harmful (on X with CSD).
This commit is contained in:
Jean-Philippe Andre 2016-12-06 15:52:10 +09:00
parent 96d90fa5d6
commit 4ff330856d
1 changed files with 1 additions and 4 deletions

View File

@ -1445,10 +1445,7 @@ _elm_win_frame_obj_update(Efl_Ui_Win_Data *sd)
evas_object_geometry_get(sd->frame_obj, &ox, &oy, &ow, &oh);
edje_object_part_geometry_get(sd->frame_obj, "elm.spacer.content", &cx, &cy, &cw, &ch);
if (_elm_win_framespace_set(sd, cx, cy, ow - cw, oh - ch))
{
_elm_win_resize_objects_eval(sd->obj);
sd->deferred_resize_job = EINA_TRUE;
}
_elm_win_resize_objects_eval(sd->obj);
}
static void