comctl32:listview: Don't start dragging for a single mouse click
Vitaliy Margolen
wine-patch at kievinfo.com
Mon Oct 3 15:17:46 CDT 2005
Because DragDetect eats all mouse events, we need to reset mouse down flag if
drag is not detected.
Vitaliy Margolen
changelog:
comctl32:
-listview: Don't start dragging for a single mouse click
-------------- next part --------------
Index: dlls/comctl32/listview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/listview.c,v
retrieving revision 1.430
diff -u -p -r1.430 listview.c
--- dlls/comctl32/listview.c 13 Sep 2005 14:30:53 -0000 1.430
+++ dlls/comctl32/listview.c 3 Oct 2005 20:12:13 -0000
@@ -3277,7 +3277,9 @@ static LRESULT LISTVIEW_MouseMove(LISTVI
notify_listview(infoPtr, LVN_BEGINDRAG, &nmlv);
return 0;
- }
+ }
+ else
+ infoPtr->bLButtonDown = FALSE;
/* see if we are supposed to be tracking mouse hovering */
if(infoPtr->dwLvExStyle & LVS_EX_TRACKSELECT) {
More information about the wine-patches
mailing list