discomfitor pushed a commit to branch elementary-1.14. http://git.enlightenment.org/core/elementary.git/commit/?id=415f52f5731440010eb1a4995c848d0adbff1350
commit 415f52f5731440010eb1a4995c848d0adbff1350 Author: Mike Blumenkrantz <[email protected]> Date: Thu May 28 21:34:25 2015 -0400 tooltip: fix positioning when tooltip is affixed to a window object @fix --- src/lib/els_tooltip.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/els_tooltip.c b/src/lib/els_tooltip.c index 811c698..996fad5 100644 --- a/src/lib/els_tooltip.c +++ b/src/lib/els_tooltip.c @@ -415,6 +415,11 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt) TTDBG("SCREEN: cw=%d,ch=%d\n", cw, ch); evas_object_geometry_get(tt->eventarea, &ox, &oy, &ow, &oh); + /* win reports its screen position for x/y; + * reset to 0 since we expect canvas coords here + */ + if (eo_isa(tt->eventarea, ELM_WIN_CLASS)) + ox = oy = 0; TTDBG("EVENTAREA: ox=%d,oy=%d,ow=%d,oh=%d\n", ox, oy, ow, oh); if (tt->tt_win) --
