From c96cc485ab145f62a882597436ff7bc6155d0509 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 31 Oct 2013 16:58:21 +0000 Subject: [PATCH] Fix ecore_evas_wayland maximized support to function properly Previously, a "maximize" of an efl client would not actually resize to the provided size as it would account for framespace width & height. This fixes that so now "maximize" is Actually maximized. Signed-off-by: Chris Michael --- .../ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 7 +++---- 1 file changed, 3 insertions(+), 4 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 a40717e16b..7d3d444f0a 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 @@ -217,15 +217,14 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_ if ((ee->x != ev->x) || (ee->y != ev->y)) { - ee->req.x = ee->x; - ee->req.y = ee->y; + ee->req.x = ev->x; + ee->req.y = ev->y; if (ee->func.fn_move) ee->func.fn_move(ee); } nw = ev->w; nh = ev->h; - - if ((ee->prop.maximized) || (!ee->prop.fullscreen)) + if ((!ee->prop.maximized) && (!ee->prop.fullscreen)) { int fw = 0, fh = 0;