[PATCH] winex11.drv: fetch DND data only when requested to by the receiving application

Damjan Jovanovic damjan.jov at gmail.com
Thu Aug 13 14:04:59 CDT 2015

Only fetches targets from the drag source when requested to by the
drop target. This is more correct as it avoids fetching dangerous
targets with side effects such as DELETE, prevents a potential
slowdown in DragEnter as all the data is fetched en-masse and
similarly reduces memory usage, and only accesses data that the
application needs. Also eliminates an unnecessary critical section.

Damjan Jovanovic
 dlls/winex11.drv/clipboard.c |  14 ++
 dlls/winex11.drv/x11drv.h    |   1 +
 dlls/winex11.drv/xdnd.c      | 350 +++++++++++++++++--------------------------
 3 files changed, 150 insertions(+), 215 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winex11.drv-fetch-DND-data-only-when-requested-to-by-t.txt
Type: text/x-patch
Size: 20504 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150813/1e851275/attachment-0001.bin>

More information about the wine-patches mailing list