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 5d63b07ca3
This commit is contained in:
Mike Blumenkrantz 2016-02-17 11:36:30 -05:00
parent 209cf8f9d7
commit 0a557c8d05
1 changed files with 1 additions and 1 deletions

View File

@ -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;