tasn pushed a commit to branch master.

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

commit dc05d966592bd8dd06196958f936cbc7f0727db7
Author: Tom Hacohen <t...@stosb.com>
Date:   Mon Mar 31 15:16:19 2014 +0100

    Fix client border changing issues
    
    The code was zeroing the flag that tells e to change the border after
    the callbacks about frame changes. This means that one couldn't change
    the border from within those callbacks. This commit fixes this issue.
---
 src/bin/e_client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 9a6c6c9..244aa40 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -2142,8 +2142,8 @@ e_client_idler_before(void)
              if ((ec->border.changed) && (!ec->shaded) &&
                  (!(((ec->maximized & E_MAXIMIZE_TYPE) == 
E_MAXIMIZE_FULLSCREEN))))
                {
-                  _e_client_frame_update(ec);
                   ec->border.changed = 0;
+                  _e_client_frame_update(ec);
                }
              _e_client_hook_call(E_CLIENT_HOOK_EVAL_POST_FRAME_ASSIGN, ec);
           }

-- 


Reply via email to