forked from enlightenment/enlightenment
fix some cases where zone/shelf handling was wrong and would lead to shelves being shown when they shouldn't
ticket #862 SVN revision: 74225
This commit is contained in:
parent
53a0131428
commit
2179306800
|
@ -314,7 +314,7 @@ e_desk_show(E_Desk *desk)
|
|||
cf_es = es->cfg;
|
||||
if (!cf_es) continue;
|
||||
|
||||
zone = e_util_zone_current_get(e_manager_current_get());
|
||||
zone = desk->zone;
|
||||
if (cf_es->zone != (int)zone->num) continue;
|
||||
|
||||
EINA_LIST_FOREACH(es->cfg->desk_list, ll, sd)
|
||||
|
|
|
@ -2070,6 +2070,8 @@ _e_shelf_on_current_desk(E_Shelf *es, E_Event_Zone_Edge *ev)
|
|||
int on_current_desk = 0;
|
||||
int on_all_desks = 1;
|
||||
|
||||
|
||||
if (ev->zone != es->zone) return EINA_FALSE;
|
||||
EINA_LIST_FOREACH(es->cfg->desk_list, ll, sd)
|
||||
{
|
||||
if (!sd) continue;
|
||||
|
|
Loading…
Reference in New Issue