ee-wayland: remove attempt to optimize canvas resizing
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 21 Oct 2015 18:06:47 +0000 (14:06 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 21 Oct 2015 18:11:00 +0000 (14:11 -0400)
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

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index 2ba972f..e924271 100644 (file)
@@ -477,8 +477,6 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
    if (w < 1) w = 1;
    if (h < 1) h = 1;
 
-   if ((ee->req.w == w) && (ee->req.h == h)) return;
-
    ee->req.w = w;
    ee->req.h = h;
    orig_w = w;