summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_canvas.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-30 12:49:59 -0500
committerDavid Robillard <d@drobilla.net>2014-12-30 12:50:15 -0500
commit486d47db0e5c2cc6ac307126155baa20bf8d89a7 (patch)
tree62bb53101f620c6c22dfbe4d58c506f8e7ef2686 /gtk2_ardour/editor_canvas.cc
parent5d1df8634350120ad3d364c1bf2950b36c2b455d (diff)
Fix smart mode cursor on audio regions.
Diffstat (limited to 'gtk2_ardour/editor_canvas.cc')
-rw-r--r--gtk2_ardour/editor_canvas.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc
index c26f00603e..137337f786 100644
--- a/gtk2_ardour/editor_canvas.cc
+++ b/gtk2_ardour/editor_canvas.cc
@@ -1188,9 +1188,13 @@ Editor::which_canvas_cursor(ItemType type) const
switch (type) {
case RegionItem:
- case RegionViewNameHighlight:
- case RegionViewName:
- case WaveItem:
+ /* We don't choose a cursor for these items on top of a region view,
+ because this would push a new context on the enter stack which
+ means switching the region context for things like smart mode
+ won't actualy change the cursor. */
+ // case RegionViewNameHighlight:
+ // case RegionViewName:
+ // case WaveItem:
case StreamItem:
case AutomationTrackItem:
cursor = which_track_cursor ();