From 303abf60def1c2574136cbaabc63602172f84e6c Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Fri, 21 Dec 2012 15:54:45 +0000 Subject: [PATCH] e17/shelf: fix wrong autohide with systray on second zone SVN revision: 81557 --- src/bin/e_shelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c index 500729225..3de432da1 100644 --- a/src/bin/e_shelf.c +++ b/src/bin/e_shelf.c @@ -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)) ||