From 5ce268a62d03051274e2c77d9a182c4d48b05704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 24 Aug 2006 08:53:28 +0000 Subject: [PATCH] You shouldn't eat mouse moved messages outside of the mouse down/up cycle. At least there is a pending bug in BView::GetMouse() that causes this restriction. This fixes bug #762 for now (will do the part in GetMouse() next). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18597 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/BTextView/TextView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/BTextView/TextView.cpp b/src/kits/interface/BTextView/TextView.cpp index b21bdedf11..3d494b6d59 100644 --- a/src/kits/interface/BTextView/TextView.cpp +++ b/src/kits/interface/BTextView/TextView.cpp @@ -676,7 +676,7 @@ BTextView::WindowActivated(bool state) BPoint where; ulong buttons; - GetMouse(&where, &buttons, true); + GetMouse(&where, &buttons, false); if (Bounds().Contains(where)) TrackMouse(where, NULL);