discomfitor pushed a commit to branch enlightenment-0.19.

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

commit ff1ef7281b8845b5d3dd906832d58bd1bd76cb0e
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Oct 30 15:03:29 2015 -0400

    simplify client SMART/EXPAND maximize
    
    calling e_client_resize_limit() here was misleading since the values
    were never used
---
 src/bin/e_client.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 1479c6d..e8db0f3 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -1609,19 +1609,14 @@ _e_client_maximize(E_Client *ec, E_Maximize max)
         w = zw, h = zh;
 
         evas_object_smart_callback_call(ec->frame, "maximize", NULL);
-        e_client_resize_limit(ec, &w, &h);
         e_comp_object_frame_xy_unadjust(ec->frame, ec->x, ec->y, &ecx, &ecy);
         e_comp_object_frame_wh_unadjust(ec->frame, ec->w, ec->h, &ecw, &ech);
 
         if (ecw < zw)
           w = ecw;
-        else
-          w = zw;
 
         if (ech < zh)
           h = ech;
-        else
-          h = zh;
 
         if (ecx < zx) // window left not useful coordinates
           x1 = zx;

-- 


Reply via email to