winex11.drv: translate the WM_DROPFILES point into client coordinates whenever possible

Damjan Jovanovic damjan.jov at gmail.com
Sun Jun 22 05:33:59 CDT 2014


Notepad++ ignores the return value of DragQueryPoint() which
determines whether the point is in client area coordinates or global
screen coordinates, and passes the returned point directly to
RealChildWindowFromPoint(), which means that on Windows the
WM_DROPFILES point must be in client coordinates. Translating the
point into client coodinates fixes dropping files into Notepad++ and
closes #28557.

Damjan Jovanovic
---
 dlls/winex11.drv/xdnd.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winex11.drv-translate-the-WM_DROPFILES-point-into-clie.txt
Type: text/x-patch
Size: 1473 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140622/f64e6d3f/attachment.bin>


More information about the wine-patches mailing list