forked from enlightenment/enlightenment
e_shelf - check visiblity with zone and desk FIRST not later
es->cfg->desk_show_mode if false (default) implies a shelf is always visible - true, as it's sticky (visible on all desktops). but this didn't check zone. check zone first THEN this.
This commit is contained in:
parent
5db35cd85a
commit
871fed7493
|
@ -837,12 +837,12 @@ e_shelf_desk_visible(const E_Shelf *es, const E_Desk *desk)
|
|||
}
|
||||
return EINA_FALSE;
|
||||
}
|
||||
if (!es->cfg->desk_show_mode) return EINA_TRUE;
|
||||
cf_es = es->cfg;
|
||||
if (!cf_es) return EINA_FALSE;
|
||||
|
||||
zone = desk->zone;
|
||||
if (cf_es->zone != (int)zone->num) return EINA_FALSE;
|
||||
if (!es->cfg->desk_show_mode) return EINA_TRUE;
|
||||
|
||||
EINA_LIST_FOREACH(es->cfg->desk_list, ll, sd)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue