Update the engine resize edge before we call ecore_wl_window_resize

Ecore_wl_window_resize essentially tells the shell to start the resize
process. We should have the evas engine info's resize_edge updated
Before we start that process so that Evas knows where the resize is
occuring from

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-12-04 11:29:32 +00:00
parent f6f28bf75a
commit 231790c7cb
2 changed files with 4 additions and 4 deletions

View File

@ -443,14 +443,14 @@ _ecore_evas_wayland_egl_resize(Ecore_Evas *ee, int location)
{
int fw, fh;
_ecore_evas_wayland_egl_resize_edge_set(ee, location);
evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
if ((ee->rotation == 0) || (ee->rotation == 180))
ecore_wl_window_resize(wdata->win, ee->w + fw, ee->h + fh, location);
else
ecore_wl_window_resize(wdata->win, ee->w + fh, ee->h + fw, location);
_ecore_evas_wayland_egl_resize_edge_set(ee, location);
}
}

View File

@ -440,14 +440,14 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
{
int fw, fh;
_ecore_evas_wayland_shm_resize_edge_set(ee, location);
evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
if ((ee->rotation == 90) || (ee->rotation == 270))
ecore_wl_window_resize(wdata->win, ee->w + fh, ee->h + fw, location);
else
ecore_wl_window_resize(wdata->win, ee->w + fw, ee->h + fh, location);
_ecore_evas_wayland_shm_resize_edge_set(ee, location);
}
}