summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_cursors.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-30 16:32:38 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-30 16:32:38 -0400
commite8fc8aa992f7fad798935de227e2a15d0a075c71 (patch)
tree3cdad72026800fc28874b73492d3a14279c0257c /gtk2_ardour/editor_cursors.cc
parentd816c225a4c4a433d8857dca79395fbf73d9476c (diff)
new UI config var to allow playhead to be optionally draggable (default is: yes, it can be dragged)
Diffstat (limited to 'gtk2_ardour/editor_cursors.cc')
-rw-r--r--gtk2_ardour/editor_cursors.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_cursors.cc b/gtk2_ardour/editor_cursors.cc
index 12dab1e83d..ffe6fc0d01 100644
--- a/gtk2_ardour/editor_cursors.cc
+++ b/gtk2_ardour/editor_cursors.cc
@@ -88,3 +88,9 @@ EditorCursor::set_color (ArdourCanvas::Color color)
{
_track_canvas_item->set_color (color);
}
+
+void
+EditorCursor::set_sensitive (bool yn)
+{
+ _track_canvas_item->set_ignore_events (!yn);
+}