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

Damjan Jovanovic damjan.jov at gmail.com
Sat Jul 4 08:37:03 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 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      | 324 ++++++++++++++++++-------------------------
 3 files changed, 149 insertions(+), 190 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-winex11.drv-fetch-DND-data-only-when-requested-to-by-t.txt
Type: text/x-patch
Size: 19751 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150704/87edeb7f/attachment.bin>


More information about the wine-patches mailing list