discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=92d8abd38c5719543c58f30aab4e5f52e4f00c51

commit 92d8abd38c5719543c58f30aab4e5f52e4f00c51
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 2e96ec2..dc3eb5d 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -3771,10 +3771,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