summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mouse.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-27 02:01:59 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-27 02:01:59 +0000
commitba6cc76ec026c5626dd545966677a467ac341b73 (patch)
tree8513d3481fce4d2461e2c3e14918242f1abc42e8 /gtk2_ardour/editor_mouse.cc
parent2b28b268c06ac79fe27c2ac2b5895a0bc129f624 (diff)
Remove what I'm pretty sure was a hack to work around the bug we used to have with the mouse entering and leaving the verbose canvas cursor. Fixes #3415.
git-svn-id: svn://localhost/ardour2/branches/3.0@7699 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r--gtk2_ardour/editor_mouse.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc
index 0346ca11ef..45bd2903d8 100644
--- a/gtk2_ardour/editor_mouse.cc
+++ b/gtk2_ardour/editor_mouse.cc
@@ -1471,10 +1471,7 @@ Editor::enter_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_
double fraction;
bool ret = true;
- if (last_item_entered != item) {
- last_item_entered = item;
- last_item_entered_n = 0;
- }
+ last_item_entered = item;
switch (item_type) {
case ControlPointItem:
@@ -1495,11 +1492,8 @@ Editor::enter_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_
track_canvas->get_window()->set_cursor (*fader_cursor);
}
- last_item_entered_n++;
set_verbose_canvas_cursor (cp->line().get_verbose_cursor_string (fraction), at_x, at_y);
- if (last_item_entered_n < 10) {
- show_verbose_canvas_cursor ();
- }
+ show_verbose_canvas_cursor ();
}
break;