diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c index d3002e0d5c..f79003e156 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -1985,15 +1985,6 @@ _ecore_evas_wl_common_screen_dpi_get(const Ecore_Evas *ee, int *xdpi, int *ydpi) if (ydpi) *ydpi = dpi; } -static void -_ecore_evas_wayland_resize_edge_set(Ecore_Evas *ee, int edge) -{ - Evas_Engine_Info_Wayland *einfo; - - if ((einfo = (Evas_Engine_Info_Wayland *)evas_engine_info_get(ee->evas))) - einfo->info.edges = edge; -} - static void _ecore_evas_wayland_resize(Ecore_Evas *ee, int location) { @@ -2004,10 +1995,7 @@ _ecore_evas_wayland_resize(Ecore_Evas *ee, int location) if (!ee) return; wdata = ee->engine.data; if (wdata->win) - { - _ecore_evas_wayland_resize_edge_set(ee, location); - ecore_wl2_window_resize(wdata->win, NULL, location); - } + ecore_wl2_window_resize(wdata->win, NULL, location); } static void diff --git a/src/modules/evas/engines/wayland_common/Evas_Engine_Wayland.h b/src/modules/evas/engines/wayland_common/Evas_Engine_Wayland.h index e733825c82..95934e9208 100644 --- a/src/modules/evas/engines/wayland_common/Evas_Engine_Wayland.h +++ b/src/modules/evas/engines/wayland_common/Evas_Engine_Wayland.h @@ -15,7 +15,7 @@ struct _Evas_Engine_Info_Wayland struct { Ecore_Wl2_Window *wl2_win; - int depth, rotation, edges; + int depth, rotation; Eina_Bool destination_alpha : 1; Eina_Bool hidden : 1; } info;