Always sync the view cursor immediately, not only when entering the view. Should

fix the remaining issues pointed out in #3198.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35946 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-03-24 21:02:38 +00:00
parent 14a66ce5f4
commit 9521d5576d
+1 -5
View File
@@ -676,14 +676,10 @@ BTextView::MouseMoved(BPoint where, uint32 code, const BMessage *message)
if (_PerformMouseMoved(where, code))
return;
bool sync = false;
switch (code) {
// We force a sync when the mouse enters the view
case B_ENTERED_VIEW:
sync = true;
// supposed to fall through
case B_INSIDE_VIEW:
_TrackMouse(where, message, sync);
_TrackMouse(where, message, true);
break;
case B_EXITED_VIEW: