elm entry: Fix anchor bug finding wrong anchor geometry.
authorDaniel Hirt <daniel.hirt@samsung.com>
Tue, 28 Jan 2014 14:36:38 +0000 (14:36 +0000)
committerTom Hacohen <tom@stosb.com>
Tue, 28 Jan 2014 14:43:43 +0000 (14:43 +0000)
commit2f5a0068fd1a769b0f5d91e416f6615d78f81310
tree6b9049d81a0e901bdacfa2edeccf1fa906a44b64
parent70782a358bed4ab9898773ea37d11efa6f9db036
elm entry: Fix anchor bug finding wrong anchor geometry.

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.
legacy/elementary/src/lib/elm_entry.c