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>
{
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);
}
}
{
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);
}
}