Piotr Caban : ole32: Don't do any message processing when we' re already done with dragdrop operation.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jul 3 12:54:50 CDT 2014
Module: wine
Branch: master
Commit: cdf2c5f2cb3e5969bc83fdae0731a44a8941e68e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cdf2c5f2cb3e5969bc83fdae0731a44a8941e68e
Author: Piotr Caban <piotr at codeweavers.com>
Date: Thu Jul 3 16:28:20 2014 +0200
ole32: Don't do any message processing when we're already done with dragdrop operation.
---
dlls/ole32/ole2.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index a017c1b..786fdb4 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -2205,7 +2205,9 @@ static LRESULT WINAPI OLEDD_DragTrackerWindowProc(
case WM_MBUTTONDOWN:
case WM_RBUTTONDOWN:
{
- OLEDD_TrackStateChange((TrackerWindowInfo*)GetWindowLongPtrA(hwnd, 0));
+ TrackerWindowInfo *trackerInfo = (TrackerWindowInfo*)GetWindowLongPtrA(hwnd, 0);
+ if (trackerInfo->trackingDone) break;
+ OLEDD_TrackStateChange(trackerInfo);
break;
}
case WM_DESTROY:
More information about the wine-cvs
mailing list