The conditions were wrong, but thankfully there exists the IS_INSIDE macro.
Change-Id: I6635ec7c459509003d4a73a5d864e6d2deaf12a9
evas_object_geometry_get(VIEW(it), &wx, &wy, &ww, &wh);
Efl_Access_State_Set ss = efl_access_object_state_set_get(VIEW(it));
Eina_Bool is_item_showing = !!STATE_TYPE_GET(ss, EFL_ACCESS_STATE_TYPE_SHOWING);
- if (is_item_showing && !((x > wx + ww) || (y > wy + wh) || (x < wx - ww) || (y < wy - wh)))
+ if (is_item_showing && IS_INSIDE(x, y, wx, wy, ww, wh))
return VIEW(it);
}