From b6af7f9b828020a12565223a9e30e5ffefa7ddb9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 21 Oct 2015 14:06:47 -0400 Subject: [PATCH] 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 --- .../ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 2 -- 1 file changed, 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) 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;