forked from enlightenment/efl
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:
parent
f6f28bf75a
commit
231790c7cb
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue