wine/dlls/comctl32 listview.c

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 2 04:56:12 CST 2005


ChangeSet ID:	21035
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/11/02 04:56:12

Modified files:
	dlls/comctl32  : listview.c 

Log message:
	Ulrich Czekalla <ulrich at codeweavers.com>
	Clear bLButtonDown flags if mouse is not down.

Patch: http://cvs.winehq.org/patch.py?id=21035

Old revision  New revision  Changes     Path
 1.433         1.434         +3 -0       wine/dlls/comctl32/listview.c

Index: wine/dlls/comctl32/listview.c
diff -u -p wine/dlls/comctl32/listview.c:1.433 wine/dlls/comctl32/listview.c:1.434
--- wine/dlls/comctl32/listview.c:1.433	2 Nov 2005 10:56:12 -0000
+++ wine/dlls/comctl32/listview.c	2 Nov 2005 10:56:12 -0000
@@ -3272,6 +3272,9 @@ static LRESULT LISTVIEW_MouseMove(LISTVI
 {
     TRACKMOUSEEVENT trackinfo;
 
+    if (!(fwKeys & MK_LBUTTON))
+        infoPtr->bLButtonDown = FALSE;
+
     if (infoPtr->bLButtonDown && DragDetect(infoPtr->hwndSelf, infoPtr->ptClickPos))
     {
         LVHITTESTINFO lvHitTestInfo;



More information about the wine-cvs mailing list