discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=b6bf8fdd466fd7c869fab4e8fc9969b6a444a3c3
commit b6bf8fdd466fd7c869fab4e8fc9969b6a444a3c3 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 fecdb8b..939366a 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) --
