From 144033e55c004a68c9b6433ba26d92baf5cfa6d1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 10 Jun 2014 16:46:09 -0400 Subject: do not allow canvas cursor changes while a drag is in progress --- gtk2_ardour/editor_canvas.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gtk2_ardour/editor_canvas.cc') diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc index a53158cbde..9c00efff15 100644 --- a/gtk2_ardour/editor_canvas.cc +++ b/gtk2_ardour/editor_canvas.cc @@ -880,6 +880,12 @@ Editor::horizontal_position () const void Editor::set_canvas_cursor (Gdk::Cursor* cursor, bool save) { + /* do not allow cursors to change during a drag */ + + if (_drags->active()) { + return; + } + if (save) { current_canvas_cursor = cursor; } -- cgit v1.2.3