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:
parent
3e9029ea08
commit
c14adb768f
|
@ -122,7 +122,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;
|
||||
|
|
Loading…
Reference in New Issue