ecore-evas-wl: Ooops, Fix opaque & input regions being set to incorrect values

@fix: As it turns out, we cannot just blindly set the regions here
during resize. Elementary apps will set the opaque region to account
for any edj frames, and having the region_set calls Here was
causing issues....

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-04-11 07:21:20 +01:00
parent 9e100627a7
commit c53053f2aa
1 changed files with 1 additions and 5 deletions

View File

@ -739,11 +739,7 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
evas_object_resize(wdata->frame, w, h);
if (wdata->win)
{
ecore_wl_window_update_size(wdata->win, w, h);
ecore_wl_window_input_region_set(wdata->win, 0, 0, w, h);
ecore_wl_window_opaque_region_set(wdata->win, 0, 0, w, h);
}
ecore_wl_window_update_size(wdata->win, w, h);
if (ee->func.fn_resize) ee->func.fn_resize(ee);
}