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
This commit is contained in:
@@ -676,7 +676,7 @@ BTextView::WindowActivated(bool state)
|
|||||||
|
|
||||||
BPoint where;
|
BPoint where;
|
||||||
ulong buttons;
|
ulong buttons;
|
||||||
GetMouse(&where, &buttons, true);
|
GetMouse(&where, &buttons, false);
|
||||||
|
|
||||||
if (Bounds().Contains(where))
|
if (Bounds().Contains(where))
|
||||||
TrackMouse(where, NULL);
|
TrackMouse(where, NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user