summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/efl_ui_win.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 0d33fe31f0..0eca88120a 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1551,10 +1551,10 @@ _elm_win_frame_obj_update(Efl_Ui_Win_Data *sd, Eina_Bool force)
1551 1551
1552 if (!_elm_win_framespace_set(sd, cx, cy, ow - cw, oh - ch) && (!force)) return; 1552 if (!_elm_win_framespace_set(sd, cx, cy, ow - cw, oh - ch) && (!force)) return;
1553 _elm_win_frame_geometry_adjust(sd); 1553 _elm_win_frame_geometry_adjust(sd);
1554 if (sd->first_draw) 1554
1555 evas_object_geometry_get(sd->obj, NULL, NULL, &w, &h); 1555 if (!sd->first_draw) return;
1556 else 1556
1557 w = ow, h = oh; 1557 evas_object_geometry_get(sd->obj, NULL, NULL, &w, &h);
1558 if (w && h) 1558 if (w && h)
1559 TRAP(sd, resize, w, h); 1559 TRAP(sd, resize, w, h);
1560} 1560}