summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.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/editor_drag.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/editor_drag.h')
-rw-r--r--gtk2_ardour/editor_drag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h
index 1268cbf8c4..ab81db5a63 100644
--- a/gtk2_ardour/editor_drag.h
+++ b/gtk2_ardour/editor_drag.h
@@ -100,6 +100,7 @@ private:
double _current_pointer_x; ///< trackview x of the current pointer
double _current_pointer_y; ///< trackview y of the current pointer
ARDOUR::framepos_t _current_pointer_frame; ///< frame that the pointer is now at
+ bool _old_follow_playhead; ///< state of Editor::follow_playhead() before the drags started
};
/** Abstract base class for dragging of things within the editor */