Commit cd5b868f authored by Damjan Jovanovic's avatar Damjan Jovanovic Committed by Alexandre Julliard

winex11.drv: Really ignore the drop effect returned from IDropTarget::DragEnter.

Commit a2f3d974 wanted to ignore the drop effect returned in IDropTarget::DragEnter, but never did so, instead it just copied effect to effect_ignore so it can later be logged. Signed-off-by: 's avatarDamjan Jovanovic <damjan.jov@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent d2314223
...@@ -307,7 +307,7 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event ) ...@@ -307,7 +307,7 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
{ {
DWORD effect_ignore = effect; DWORD effect_ignore = effect;
hr = IDropTarget_DragEnter(dropTarget, &XDNDDataObject, hr = IDropTarget_DragEnter(dropTarget, &XDNDDataObject,
MK_LBUTTON, pointl, &effect); MK_LBUTTON, pointl, &effect_ignore);
if (hr == S_OK) if (hr == S_OK)
{ {
XDNDAccepted = TRUE; XDNDAccepted = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment