From 8b12df9a4a43cacfa324fd2b4e20a440fd254008 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 21 Sep 2012 07:18:53 +0000 Subject: [PATCH] increase shelf size when checking to see if pointer is inside to ensure autohide picks it up properly SVN revision: 76932 --- src/bin/e_shelf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c index 05fa47830..e888da573 100644 --- a/src/bin/e_shelf.c +++ b/src/bin/e_shelf.c @@ -1857,6 +1857,8 @@ _e_shelf_cb_mouse_in(void *data, int type, void *event) inside = (es->popup && ((ev->event_window == es->popup->evas_win))); if (!inside) inside = ( + (E_INSIDE(ev->root.x - 4, ev->root.y - 4, es->zone->x, es->zone->y, es->zone->w + 4, es->zone->h + 4)) && + (E_INSIDE(ev->root.x + 4, ev->root.y + 4, es->zone->x, es->zone->y, es->zone->w + 4, es->zone->h + 4)) && (E_INSIDE(ev->root.x, ev->root.y, es->zone->x, es->zone->y, es->zone->w + 4, es->zone->h + 4)) && (E_INSIDE(ev->root.x, ev->root.y, es->x, es->y, es->w, es->h)) );