summaryrefslogtreecommitdiff
path: root/gtk2_ardour/public_editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-05 02:28:28 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-05 02:28:28 +0000
commit85acf35337e73a1382a1ce3f1fa02470d75e487a (patch)
tree5fc10c780a9298fd7adff4e498e32592e9ba09ff /gtk2_ardour/public_editor.h
parentd13cb3bd40b5d5ae54c3adfcf952e6f965e51d08 (diff)
Disable follow-playhead during drags. Fixes #3647.
git-svn-id: svn://localhost/ardour2/branches/3.0@8444 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r--gtk2_ardour/public_editor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h
index f0c2ca3f91..2667d031b6 100644
--- a/gtk2_ardour/public_editor.h
+++ b/gtk2_ardour/public_editor.h
@@ -238,8 +238,9 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible {
/** Set whether the editor should follow the playhead.
* @param yn true to follow playhead, otherwise false.
+ * @param catch_up true to reset the editor view to show the playhead (if yn == true), otherwise false.
*/
- virtual void set_follow_playhead (bool yn) = 0;
+ virtual void set_follow_playhead (bool yn, bool catch_up = false) = 0;
/** Toggle whether the editor is following the playhead */
virtual void toggle_follow_playhead () = 0;