antognolli pushed a commit to branch master.

commit b73786814c05f6584bbea27ab56c4c332b13e4be
Author: Rafael Antognolli <[email protected]>
Date:   Fri Mar 22 16:18:10 2013 -0300

    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.
---
 src/modules/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 9914d63..7643a09 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))

-- 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

Reply via email to