[PATCH 3/3] winex11.drv: translate the WM_DROPFILES point into client coordinates whenever possible (try 2)

Damjan Jovanovic damjan.jov at gmail.com
Thu Jul 17 14:08:24 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.

Try 2 has been split up.

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


More information about the wine-patches mailing list