winex11.drv: Only update drop effect if IDropTarget::DragOver returned S_OK.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fd4dbf0519
commit
c96589421a
|
@ -325,7 +325,7 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
|
|||
if (dropTarget)
|
||||
{
|
||||
hr = IDropTarget_DragOver(dropTarget, MK_LBUTTON, pointl, &effect);
|
||||
if (SUCCEEDED(hr))
|
||||
if (hr != S_OK)
|
||||
XDNDDropEffect = effect;
|
||||
else
|
||||
WARN("IDropTarget_DragOver failed, error 0x%08X\n", hr);
|
||||
|
|
Loading…
Reference in New Issue