From 2749775c742e6080123ac8954230e2c392ea0ca9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 23 Mar 2016 17:41:29 -0400 Subject: [PATCH] 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 --- src/lib/elementary/elm_win.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/elementary/elm_win.c b/src/lib/elementary/elm_win.c index f903154b2e..9daa7bbc27 100644 --- a/src/lib/elementary/elm_win.c +++ b/src/lib/elementary/elm_win.c @@ -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);