There are a lot of weird things going on here. Now I can't get anything to work, on linux. Windows works perfectly. It is likely that tkdnd bugs are also involved, seen a few. One peculiar thing is that if a drag a contact from the roster (exported as file & text) to the Chat window, the target handler for text (text/plain;charset=UTF-8) is executed, but that was only registered for files!
There are a lot of weird things going on here. Now I can't get anything to work, on linux. Windows works perfectly. It is likely that tkdnd bugs are also involved, seen a few. One peculiar thing is that if a drag a contact from the roster (exported as file & text) to the Chat window, the target handler for text (text/plain; charset= UTF-8) is executed, but that was only registered for files!
dnd bindtarget $win text/uri-list <DragEnter> \ :DnDFileEnter $chattoken %W %A %D %T] 80
[list ::Chat:
Dragging contact from roster to Chat: :DnDFileEnter win=.jchat1. frall.fthr. m.pane. frtxtsnd. text, data=, type=text/ plain;charset= UTF-8
% ::Chat: