discomfitor pushed a commit to branch enlightenment-0.19.

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

commit 3d8c3bb614154918f403ce937579a03c97e2d99a
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Sep 28 14:41:44 2015 -0400

    unset the requested maximize state when receiving a client unmaximize 
request
    
    not sure why it was always removing VERTICAL here but that's a bug
---
 src/bin/e_hints.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_hints.c b/src/bin/e_hints.c
index 3684cca..2424169 100644
--- a/src/bin/e_hints.c
+++ b/src/bin/e_hints.c
@@ -809,7 +809,7 @@ e_hints_window_state_update(E_Client *ec, int state, int 
action)
            {
             case ECORE_X_WINDOW_STATE_ACTION_REMOVE:
               if (ec->maximized & max[state])
-                e_client_unmaximize(ec, E_MAXIMIZE_VERTICAL);
+                e_client_unmaximize(ec, max[state]);
               break;
 
             case ECORE_X_WINDOW_STATE_ACTION_ADD:

-- 


Reply via email to