devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c96cc485ab145f62a882597436ff7bc6155d0509

commit c96cc485ab145f62a882597436ff7bc6155d0509
Author: Chris Michael <[email protected]>
Date:   Thu Oct 31 16:58:21 2013 +0000

    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 <[email protected]>
---
 src/modules/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 a40717e..7d3d444 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;
 

-- 


Reply via email to