[winex11.drv] XDND file drag support

Damjan Jovanovic damjan.jov at gmail.com
Wed Jun 27 02:50:35 CDT 2007


If wine is supposed to support XDND then it is currently badly broken:
it calls GetLongPathNameA on a UNIX path which always fails, it
doesn't URL decode the filename which means spaces get turned into
%20's, it doesn't use the text/uri-list MIME type like the X file drag
spec says, it only parses the first filename, and there is multiple
incompatible assumptions about how X11DRV_XDND_UnixToDos works. This
patch adds proper support for the X file drag protocol using
text/uri-list and has the workarounds needed to get file drops from
nautilus, thunar and konqueror.

Changelog:
* Added better support for the X file drag protocol.

Damjan Jovanovic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdnd.diff
Type: text/x-diff
Size: 8618 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070627/0891c6bb/xdnd-0001.bin


More information about the wine-patches mailing list