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