do not allow canvas cursor changes while a drag is in progress
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 10 Jun 2014 20:46:09 +0000 (16:46 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 10 Jun 2014 20:46:09 +0000 (16:46 -0400)
gtk2_ardour/editor_canvas.cc

index a53158cbdefb18a6b22aa46b0d1bc1cd2b6ab0d2..9c00efff151535eb14b8665402f9a791ecfd466c 100644 (file)
@@ -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;
        }