Author: stippi Date: 2010-03-24 22:02:38 +0100 (Wed, 24 Mar 2010) New Revision: 35946 Changeset: http://dev.haiku-os.org/changeset/35946/haiku Ticket: http://dev.haiku-os.org/ticket/3198 Modified: haiku/trunk/src/kits/interface/TextView.cpp Log: Always sync the view cursor immediately, not only when entering the view. Should fix the remaining issues pointed out in #3198. Modified: haiku/trunk/src/kits/interface/TextView.cpp =================================================================== --- haiku/trunk/src/kits/interface/TextView.cpp 2010-03-24 16:59:18 UTC (rev 35945) +++ haiku/trunk/src/kits/interface/TextView.cpp 2010-03-24 21:02:38 UTC (rev 35946) @@ -676,14 +676,10 @@ 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: