aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-03-23 17:41:29 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-03-24 15:39:08 -0400
commit2749775c742e6080123ac8954230e2c392ea0ca9 (patch)
treea453b0e47421823d686bf110667e33da2cf89a0c /src
parentMerge Elementary into the EFL (diff)
downloadefl-2749775c742e6080123ac8954230e2c392ea0ca9.tar.gz
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elm_win.c2
1 files changed, 2 insertions, 0 deletions
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);