Skip to content
Snippets Groups Projects
Commit c9658942 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard
Browse files

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

parent fd4dbf05
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment