OSX inverts y drop-coordinate
Brought to you by:
petasis
In OSX, the location of a drop is vertically inverted around the centre of the main screen.
I have fixed it for my own system by altering a procedure in tkdnd_macosx.tcl to the following:
proc macdnd::_HandlePosition { drop_target rootX rootY } {
return [::tkdnd::xdnd::_HandleXdndPosition $drop_target $rootX \
[expr {[winfo screenheight $drop_target]-$rootY}]]
};# macdnd::_HandlePosition
...but I do not know if this is sound across all desktop layouts
Is the bug still present in TkDND 2.7?