No need to call DragStart() if we have no drag message yet.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42236 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2011-06-18 21:31:07 +00:00
parent 7560163d8c
commit 2e687c4792

View File

@ -6716,7 +6716,8 @@ BPoseView::MouseMoved(BPoint mouseLoc, uint32 moveCode, const BMessage *message)
if (!window)
return;
window->DragStart(message);
if (message != NULL && !window->Dragging())
window->DragStart(message);
switch (moveCode) {
case B_INSIDE_VIEW: