summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mixer.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-12-01 17:32:41 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-12-01 17:32:41 +0000
commitcba911619631b935cf3cd316a80892fa6ea1c381 (patch)
tree66b76d549f4975737576f82f504d161d2d61513f /gtk2_ardour/editor_mixer.cc
parent927553f6b83add18d03f4bae55421743342d5704 (diff)
don't update clocks while dragging playhead
git-svn-id: svn://localhost/ardour2/trunk@1183 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mixer.cc')
-rw-r--r--gtk2_ardour/editor_mixer.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc
index 52f48b8174..bfbb5104b2 100644
--- a/gtk2_ardour/editor_mixer.cc
+++ b/gtk2_ardour/editor_mixer.cc
@@ -164,11 +164,16 @@ Editor::update_current_screen ()
frame = session->audible_frame();
+ if (_dragging_playhead) {
+ goto almost_done;
+ }
+
/* only update if the playhead is on screen or we are following it */
if (_follow_playhead) {
- playhead_cursor->canvas_item.show();
+ playhead_cursor->canvas_item.show();
+
if (frame != last_update_frame) {
if (frame < leftmost_frame || frame > leftmost_frame + current_page_frames()) {
@@ -198,6 +203,7 @@ Editor::update_current_screen ()
}
}
+ almost_done:
last_update_frame = frame;
if (current_mixer_strip) {