discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=934d5417956e4cad9a73dc352c50f63b248ddc33

commit 934d5417956e4cad9a73dc352c50f63b248ddc33
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 20 14:31:27 2015 -0400

    use client geometry for starting unmaximize calculations
    
    the resize operations in this function operate off client geometry, so
    stop using frame geometry
    
    fix T2170
---
 src/bin/e_client.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 4952154..ea23a0c 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -3729,10 +3729,10 @@ e_client_unmaximize(E_Client *ec, E_Maximize max)
              int w, h, x, y;
              Eina_Bool horiz = EINA_FALSE, vert = EINA_FALSE;
 
-             w = ec->w;
-             h = ec->h;
-             x = ec->x;
-             y = ec->y;
+             w = ec->client.w;
+             h = ec->client.h;
+             x = ec->client.x;
+             y = ec->client.y;
 
              if (((ec->maximized & E_MAXIMIZE_TYPE) == E_MAXIMIZE_SMART) ||
                  ((ec->maximized & E_MAXIMIZE_TYPE) == E_MAXIMIZE_EXPAND))

-- 


Reply via email to