[PATCH 1/2] winex11.drv: copy and paste files to/from X11 apps (try 3)

Damjan Jovanovic damjan.jov at gmail.com
Wed May 7 04:46:44 CDT 2014


Import and export HDROP as text/uri-list, so we can copy and paste
files bidirectionally between X11 apps and Wine apps. This patch is
based on the import functions from xdnd.c, which are deleted from
there in the next patch.

Try 3 uses array doubling (instead of counting exact URI sizes and
allocating precisely as much memory as is needed), leading to less
code.

Damjan Jovanovic
---
 dlls/winex11.drv/clipboard.c | 302 ++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 301 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winex11.drv-copy-and-paste-files-to-from-X11-apps.txt
Type: text/x-patch
Size: 13611 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140507/7da9e2bc/attachment-0001.bin>


More information about the wine-patches mailing list