Summary: Fix a bug with finding the proper geometry when reporting anchor
interaction. It's easy to see in entry anchor2 test in elementary_test
when clicking on the lower border of the anchor.
Anchor geometries are relative to the textblock object. The problem was
that this was accounted for using the edje object's geometry instead of
the textblock geometry thus causing an offset.
Reviewers: JackDanielZ, tasn
CC: seoz
Differential Revision: https://phab.enlightenment.org/D436
TAsn: Commit message edited by me.
if (!geoms) return;
- evas_object_geometry_get(sd->entry_edje, &x, &y, NULL, NULL);
+ evas_object_geometry_get(
+ edje_object_part_object_get(sd->entry_edje, "elm.text"),
+ &x, &y, NULL, NULL);
evas_pointer_canvas_xy_get
(evas_object_evas_get(sd->entry_edje), &px, &py);