Commit c9658942 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winex11.drv: Only update drop effect if IDropTarget::DragOver returned S_OK.

parent fd4dbf05
...@@ -325,7 +325,7 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event ) ...@@ -325,7 +325,7 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
if (dropTarget) if (dropTarget)
{ {
hr = IDropTarget_DragOver(dropTarget, MK_LBUTTON, pointl, &effect); hr = IDropTarget_DragOver(dropTarget, MK_LBUTTON, pointl, &effect);
if (SUCCEEDED(hr)) if (hr != S_OK)
XDNDDropEffect = effect; XDNDDropEffect = effect;
else else
WARN("IDropTarget_DragOver failed, error 0x%08X\n", hr); WARN("IDropTarget_DragOver failed, error 0x%08X\n", hr);
......
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