ecore_evas/wayland_egl: Fix window resize when using meta+middle click.

It's needed to set the edge where the middle click is being done in
order to allow Evas know which direction the resize should take.

SVN revision: 83610
This commit is contained in:
Rafael Antognolli 2013-02-04 18:40:14 +00:00
parent ef0854e2b4
commit cc2b953b65
1 changed files with 8 additions and 0 deletions

View File

@ -293,6 +293,14 @@ _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h)
if (wdata->win)
{
Evas_Engine_Info_Wayland_Egl *einfo;
if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas)))
{
einfo->info.edges = wdata->win->edges;
if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
}
ecore_wl_window_update_size(wdata->win, w, h);
ecore_wl_window_buffer_attach(wdata->win, NULL, 0, 0);
}