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)
|
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);
|
||||||
|
|
Loading…
Reference in New Issue