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
209cf8f9d7
commit
0a557c8d05
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue