diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-10 16:46:09 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-10 16:46:09 -0400 |
commit | 144033e55c004a68c9b6433ba26d92baf5cfa6d1 (patch) | |
tree | 6f5bdaf9c5fd7595b6e54acd6c017308b5ffc89b /gtk2_ardour/editor_canvas.cc | |
parent | b9f7aeb61e19a1a272dd0d6ab688fbd8272be489 (diff) |
do not allow canvas cursor changes while a drag is in progress
Diffstat (limited to 'gtk2_ardour/editor_canvas.cc')
-rw-r--r-- | gtk2_ardour/editor_canvas.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |