ecore-evas-wayland: Don't set window geometry in ecore_evas
As we do not have the proper values for window geometry to be setting it here, remove calls to set window geometry. We can more accurately determine the window geometry from inside Elementary as it handles the theme for the window borders. @fix ref T2919 Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
880a76a75b
commit
32eb2d32c4
|
@ -649,14 +649,6 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
|
|||
if (wdata->frame)
|
||||
evas_object_resize(wdata->frame, w, h);
|
||||
|
||||
if (wdata->win)
|
||||
{
|
||||
if (ECORE_EVAS_PORTRAIT(ee))
|
||||
ecore_wl2_window_geometry_set(wdata->win, 0, 0, w, h);
|
||||
else
|
||||
ecore_wl2_window_geometry_set(wdata->win, 0, 0, h, w);
|
||||
}
|
||||
|
||||
if (ee->func.fn_resize) ee->func.fn_resize(ee);
|
||||
}
|
||||
}
|
||||
|
@ -1190,8 +1182,7 @@ _ecore_evas_wl_common_border_update(Ecore_Evas *ee)
|
|||
Ecore_Evas_Engine_Wl_Data *wdata;
|
||||
|
||||
wdata = ee->engine.data;
|
||||
if (!wdata->frame)
|
||||
return;
|
||||
if (!wdata->frame) return;
|
||||
|
||||
if ((ee->prop.borderless) || (ee->prop.fullscreen))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue