restrict shelf border_fix to only affect clients affected by the shelf
fixes random other clients changing sizes based on irrelevant shelf hiding
This commit is contained in:
parent
37c5063200
commit
8b8abb436d
|
@ -1466,7 +1466,6 @@ _e_shelf_gadcon_frame_request(void *data, E_Gadcon_Client *gcc, const char *styl
|
|||
static void
|
||||
_e_shelf_toggle_client_fix(E_Shelf *es)
|
||||
{
|
||||
Eina_List *l;
|
||||
E_Client *ec;
|
||||
|
||||
if (!e_config->border_fix_on_shelf_toggle)
|
||||
|
@ -1474,8 +1473,10 @@ _e_shelf_toggle_client_fix(E_Shelf *es)
|
|||
if (es->cfg->overlap)
|
||||
return;
|
||||
|
||||
EINA_LIST_FOREACH(e_comp->clients, l, ec)
|
||||
E_CLIENT_FOREACH(ec)
|
||||
{
|
||||
if ((!ec->sticky) && (!e_shelf_desk_visible(es, ec->desk ?: e_desk_current_get(es->zone))))
|
||||
continue;
|
||||
if ((ec->maximized & E_MAXIMIZE_TYPE) == E_MAXIMIZE_NONE)
|
||||
{
|
||||
if (ec->lock_client_location) continue;
|
||||
|
|
Loading…
Reference in New Issue