projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9f7aeb
)
do not allow canvas cursor changes while a drag is in progress
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 10 Jun 2014 20:46:09 +0000
(16:46 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 10 Jun 2014 20:46:09 +0000
(16:46 -0400)
gtk2_ardour/editor_canvas.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_canvas.cc
b/gtk2_ardour/editor_canvas.cc
index a53158cbdefb18a6b22aa46b0d1bc1cd2b6ab0d2..9c00efff151535eb14b8665402f9a791ecfd466c 100644
(file)
--- 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;
}