elm_win: force resize during show if job is pending
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 23 Mar 2016 21:41:29 +0000 (17:41 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 24 Mar 2016 19:39:08 +0000 (15:39 -0400)
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

index f903154..9daa7bb 100644 (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);