summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-07-07 23:48:46 +0000
committerCarl Hetherington <carl@carlh.net>2010-07-07 23:48:46 +0000
commit10ef65b696492e5e6e9abe009f2e2c4a3af51994 (patch)
tree93bdcd56328c89d52ec5e5e273e4a10decaf0212 /gtk2_ardour
parent28e3215afa99ab7974734a30feedc24ebcd534ab (diff)
Transmit MTC on playhead drag, as per #3239.
git-svn-id: svn://localhost/ardour2/branches/3.0@7389 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_drag.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc
index 2aaeaa1038..1921349893 100644
--- a/gtk2_ardour/editor_drag.cc
+++ b/gtk2_ardour/editor_drag.cc
@@ -2138,7 +2138,9 @@ CursorDrag::motion (GdkEvent* event, bool)
_editor->show_verbose_time_cursor (_cursor->current_frame, 10);
if (_editor->session() && _item == &_editor->playhead_cursor->canvas_item) {
- _editor->session()->send_mmc_locate (_editor->playhead_cursor->current_frame);
+ nframes64_t const f = _editor->playhead_cursor->current_frame;
+ _editor->session()->send_mmc_locate (f);
+ _editor->session()->send_full_time_code (f);
}