Commit 76f7d8c7 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winex11.drv: Reset XDNDAccepted flag if IDropTarget::DragEnter fails.

parent c9658942
...@@ -314,7 +314,10 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event ) ...@@ -314,7 +314,10 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
TRACE("the application accepted the drop (effect = %d)\n", effect_ignore); TRACE("the application accepted the drop (effect = %d)\n", effect_ignore);
} }
else else
{
XDNDAccepted = FALSE;
WARN("IDropTarget_DragEnter failed, error 0x%08X\n", hr); WARN("IDropTarget_DragEnter failed, error 0x%08X\n", hr);
}
IDropTarget_Release(dropTarget); IDropTarget_Release(dropTarget);
} }
} }
......
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