e17/shelf: fix wrong autohide with systray on second zone

SVN revision: 81557
This commit is contained in:
Hannes Janetzek 2012-12-21 15:54:45 +00:00
parent c7f20b65c5
commit 303abf60de
1 changed files with 1 additions and 1 deletions

View File

@ -1967,7 +1967,7 @@ _e_shelf_cb_mouse_in(void *data, int type, void *event)
if (!inside)
{
inside = E_INSIDE(ev->root.x, ev->root.y, es->zone->x, es->zone->y, es->zone->w + 4, es->zone->h + 4);
x = ev->root.x - es->zone->x, y = ev->root.y - es->zone->x;
x = ev->root.x - es->zone->x, y = ev->root.y - es->zone->y;
if (inside)
inside = (
((E_INSIDE(x, y, es->x, es->y, es->w, es->h)) ||