From b73786814c05f6584bbea27ab56c4c332b13e4be Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Fri, 22 Mar 2013 16:18:10 -0300 Subject: [PATCH] ecore_evas/wayland: Ecore_Evas geometry should report the client size. The real canvas size contains enough space for rendering the frame, but ecore_evas_geometry_get() should be consistent accross all the engines and report only the client area. --- .../ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 4 ++-- 1 file changed, 2 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 9914d63a96..7643a09216 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 @@ -208,8 +208,8 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_ { ee->req.w = nw; ee->req.h = nh; - ee->w = ev->w; - ee->h = ev->h; + ee->w = nw; + ee->h = nh; if (ee->func.fn_resize) ee->func.fn_resize(ee); if ((ee->rotation == 90) || (ee->rotation == 270))