discomfitor pushed a commit to branch master.

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

commit dd1577a169038bbeb4a9287fdd92bde77e3c74e2
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Jul 24 14:33:08 2015 -0400

    fix client smart callbacks on (un)maximize
    
    these should match the callbacks triggered for whatever the current
    maximize state is
---
 src/bin/e_client.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 6523f0b..fdec165 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -3791,7 +3791,7 @@ e_client_unmaximize(E_Client *ec, E_Maximize max)
              _e_client_frame_update(ec);
              // re-set maximized state for unmaximize smart callback.
              ec->maximized = tmp_max;
-             evas_object_smart_callback_call(ec->frame, "unmaximize", NULL);
+             evas_object_smart_callback_call(ec->frame, "unfullscreen", NULL);
              // un-set maximized state.
              ec->maximized = E_MAXIMIZE_NONE;
              e_client_util_move_resize_without_frame(ec,
@@ -3811,11 +3811,6 @@ e_client_unmaximize(E_Client *ec, E_Maximize max)
              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))
-               {
-                  evas_object_smart_callback_call(ec->frame, "unfullscreen", 
NULL);
-               }
              if (max & E_MAXIMIZE_VERTICAL)
                {
                   /* Remove vertical */

-- 


Reply via email to