summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-07-05 01:13:36 +0000
committerCarl Hetherington <carl@carlh.net>2010-07-05 01:13:36 +0000
commitc36132271b9c217af2242fc490b0cd05ce9a641d (patch)
treef9fee41a1943beb7eec68fdfc37569f9d9e3cf28 /gtk2_ardour/editor_drag.cc
parent82167000805df6924b16ced23c79edfe4934a3b7 (diff)
Do MMC on playhead drag more efficiently by not doing an actual locate.
git-svn-id: svn://localhost/ardour2/branches/3.0@7370 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.cc')
-rw-r--r--gtk2_ardour/editor_drag.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc
index e447e894dc..b01c79ad91 100644
--- a/gtk2_ardour/editor_drag.cc
+++ b/gtk2_ardour/editor_drag.cc
@@ -2138,8 +2138,7 @@ 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()->request_locate (_editor->playhead_cursor->current_frame, false);
- _editor->_pending_locate_request = true;
+ _editor->session()->send_mmc_locate (_editor->playhead_cursor->current_frame);
}