summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-10-21 14:06:47 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-10-21 14:11:00 -0400
commitb6af7f9b828020a12565223a9e30e5ffefa7ddb9 (patch)
tree2524539f03f56e2aef7b9840678b0fe4bd4002a9
parentd6055e952782cfe9b570eb414417f60cb4538f83 (diff)
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
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 2ba972f82b..e9242718e0 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -477,8 +477,6 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
477 if (w < 1) w = 1; 477 if (w < 1) w = 1;
478 if (h < 1) h = 1; 478 if (h < 1) h = 1;
479 479
480 if ((ee->req.w == w) && (ee->req.h == h)) return;
481
482 ee->req.w = w; 480 ee->req.w = w;
483 ee->req.h = h; 481 ee->req.h = h;
484 orig_w = w; 482 orig_w = w;