forked from enlightenment/efl
ee-wayland: remove attempt to optimize canvas resizing
in the case of operations which change framespace, rejecting resizes at this point will cause the canvas to fail at resizing and result in a partially-rendered canvas; the real canvas geometry must be calculated by running the entire function in order to determine whether the resize is valid fixes toggling borderless state of windows
This commit is contained in:
parent
d6055e9527
commit
b6af7f9b82
|
@ -477,8 +477,6 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
|
||||||
if (w < 1) w = 1;
|
if (w < 1) w = 1;
|
||||||
if (h < 1) h = 1;
|
if (h < 1) h = 1;
|
||||||
|
|
||||||
if ((ee->req.w == w) && (ee->req.h == h)) return;
|
|
||||||
|
|
||||||
ee->req.w = w;
|
ee->req.w = w;
|
||||||
ee->req.h = h;
|
ee->req.h = h;
|
||||||
orig_w = w;
|
orig_w = w;
|
||||||
|
|
Loading…
Reference in New Issue