discomfitor pushed a commit to branch enlightenment-0.20.

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

commit 0a557c8d05e60aa73bdc8241e02b7ba2b8b0176a
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Feb 17 11:36:30 2016 -0500

    improve enforcement of shelf autohide-related window adjustment
    
    for whatever reason, there's a global option which makes windows adjust
    when a shelf autohides as well as a per-shelf option to ignore the global
    option
    
    in the case where the global option is not enabled, there is no reason to
    check the per-shelf option
    
    ref 5d63b07ca39011f4f1508c68f2d361d28584422e
---
 src/bin/e_shelf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c
index c1b5ca6..6479a4b 100644
--- a/src/bin/e_shelf.c
+++ b/src/bin/e_shelf.c
@@ -91,7 +91,7 @@ _e_shelf_remaximize(E_Shelf *es)
 {
    E_Client *ec;
 
-   if (es->cfg->overlap && e_config->border_fix_on_shelf_toggle) return;
+   if ((!e_config->border_fix_on_shelf_toggle) || es->cfg->overlap) return;
    E_CLIENT_FOREACH(ec)
      {
         E_Maximize max = ec->maximized;

-- 


Reply via email to