From 76f7d8c7abf7447016e4edaf91c06563cc860918 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Mon, 21 Dec 2015 11:21:27 +0100 Subject: [PATCH] winex11.drv: Reset XDNDAccepted flag if IDropTarget::DragEnter fails. Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/winex11.drv/xdnd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/winex11.drv/xdnd.c b/dlls/winex11.drv/xdnd.c index 841eaffb104..0c34b4f1b54 100644 --- a/dlls/winex11.drv/xdnd.c +++ b/dlls/winex11.drv/xdnd.c @@ -314,7 +314,10 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event ) TRACE("the application accepted the drop (effect = %d)\n", effect_ignore); } else + { + XDNDAccepted = FALSE; WARN("IDropTarget_DragEnter failed, error 0x%08X\n", hr); + } IDropTarget_Release(dropTarget); } }