elm_win: force resize during show if job is pending

this resolves the issue of all elm windows being created at 1x1 and
immediately resizing to another size after being shown, causing all
kinds of failures in various environments

@fix
This commit is contained in:
Mike Blumenkrantz 2016-03-23 17:41:29 -04:00
parent 5bcb9fe528
commit 2749775c74
1 changed files with 2 additions and 0 deletions

View File

@ -1604,6 +1604,8 @@ _elm_win_evas_object_smart_show(Eo *obj, Elm_Win_Data *sd)
INCREMENT_MODALITY()
}
if (sd->deferred_resize_job)
_elm_win_resize_job(sd->obj);
evas_smart_objects_calculate(evas_object_evas_get(obj));
TRAP(sd, show);