winex11.drv: Reset XDNDAccepted flag if IDropTarget::DragEnter fails.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c96589421a
commit
76f7d8c7ab
|
@ -314,7 +314,10 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
|
|||
TRACE("the application accepted the drop (effect = %d)\n", effect_ignore);
|
||||
}
|
||||
else
|
||||
{
|
||||
XDNDAccepted = FALSE;
|
||||
WARN("IDropTarget_DragEnter failed, error 0x%08X\n", hr);
|
||||
}
|
||||
IDropTarget_Release(dropTarget);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue