From b69453399de4a60fd729e76627df36c5d25a4cba Mon Sep 17 00:00:00 2001
From: Jessica Hamilton <jessica.l.hamilton@gmail.com>
Date: Thu, 23 Aug 2012 14:02:36 +0000
Subject: [PATCH] Move SetMouseEventMask() into MouseDown, where it should be.
---
src/preferences/filetypes/IconView.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/preferences/filetypes/IconView.cpp b/src/preferences/filetypes/IconView.cpp
index 742508d..b9b688a 100644
a
|
b
|
IconView::MouseDown(BPoint where)
|
813 | 813 | // start tracking - this icon might be dragged around |
814 | 814 | fDragPoint = where; |
815 | 815 | fTracking = true; |
| 816 | SetMouseEventMask(B_POINTER_EVENTS, B_NO_POINTER_HISTORY); |
816 | 817 | } |
817 | 818 | } |
818 | 819 | |
… |
… |
IconView::MouseMoved(BPoint where, uint32 transit, const BMessage* dragMessage)
|
903 | 904 | DragMessage(&message, dragBitmap, B_OP_ALPHA, |
904 | 905 | fDragPoint - BitmapRect().LeftTop(), this); |
905 | 906 | fDragging = true; |
906 | | SetMouseEventMask(B_POINTER_EVENTS, B_NO_POINTER_HISTORY); |
907 | 907 | } |
908 | 908 | |
909 | 909 | if (dragMessage != NULL && !fDragging && AcceptsDrag(dragMessage)) { |