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

Commit a2f3d97406 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: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Damjan Jovanovic 2016-04-25 03:00:11 +02:00 committed by Alexandre Julliard
parent d2314223ae
commit cd5b868fa0
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
{
DWORD effect_ignore = effect;
hr = IDropTarget_DragEnter(dropTarget, &XDNDDataObject,
MK_LBUTTON, pointl, &effect);
MK_LBUTTON, pointl, &effect_ignore);
if (hr == S_OK)
{
XDNDAccepted = TRUE;