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:
parent
5c87242ea3
commit
5ce268a62d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user