Launcher: fix the gadget menu icon search

This was obviously wrong, it was comparing
the geometry of the whole gadget instead of
the icon one. Now the menu doesn't always
act on the first icon ;)
This commit is contained in:
Davide Andreoli 2018-10-21 11:22:54 +02:00
parent 79ff5ae53b
commit 3e4a34d03c
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ _bar_gadget_menu_populate(Evas_Object *g, E_Menu *m)
{
Evas_Coord x, y, w, h;
evas_object_geometry_get(g, &x, &y, &w, &h);
evas_object_geometry_get(ic->o_icon, &x, &y, &w, &h);
if (E_INSIDE(px, py, x, y, w, h)) break;
ic = NULL;
}