Is Tk_CoordsToWindow() working?



Hi all,

I am facing problems in finding the widget under the mouse, Tk_CoordsToWindow() does not seem to return correct information.

Using also the Tk equivalent:

puts "widget under mouse: [winfo containing {*}[winfo pointerxy .]]"

does not print any Tk path, despite the mouse is over Tk widgets.

Any idea why? (Linux/X11, Tk 8.6 latest fossil sources)

George
.