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:
Mike Blumenkrantz 2012-07-20 09:37:15 +00:00
parent 53a0131428
commit 2179306800
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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;