Revert "efl_ui_win: use move_resize instead of resize" 58/285958/2 accepted/tizen/unified/20221227.170638
authorkim hosang <hosang12.kim@samsung.com>
Fri, 23 Dec 2022 06:32:20 +0000 (06:32 +0000)
committerkim hosang <hosang12.kim@samsung.com>
Fri, 23 Dec 2022 06:47:53 +0000 (06:47 +0000)
This reverts commit 0095c3004bebbac79a9710e5df82b8f517371e7e.

Change-Id: I32c1658a1bdd88a1f3d79ab702e9c3a78e956955

src/lib/elementary/efl_ui_win.c
src/lib/elementary/elm_win_common.h

index c89edea..72c0a3b 100644 (file)
@@ -3905,12 +3905,10 @@ _efl_ui_win_efl_gfx_entity_size_set(Eo *obj, Efl_Ui_Win_Data *sd, Eina_Size2D sz
    _elm_win_frame_obj_update(sd, 1);
    if (!sd->response)
      {
-        int x = 0, y = 0;
         sd->req_wh = EINA_TRUE;
         sd->req_w = sz.w;
         sd->req_h = sz.h;
-        evas_object_geometry_get(obj, &x, &y, NULL, NULL);
-        TRAP(sd, move_resize, x, y, sz.w, sz.h);
+        TRAP(sd, resize, sz.w, sz.h);
      }
 
    efl_gfx_entity_size_set(efl_super(obj, MY_CLASS), sz);
index 1f420c4..a186bc6 100644 (file)
@@ -59,7 +59,6 @@ struct _Elm_Win_Trap
    Eina_Bool (*input_rect_set)(void *data, Evas_Object *o, Eina_Rectangle *input_rect);
    Eina_Bool (*input_rect_add)(void *data, Evas_Object *o, Eina_Rectangle *input_rect);
    Eina_Bool (*input_rect_subtract)(void *data, Evas_Object *o, Eina_Rectangle *input_rect);
-   Eina_Bool (*move_resize)(void *data, Evas_Object *o, int x, int y, int w, int h);
 //
 };