projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7665af7
)
Prevent region drags with the middle button in internal edit mode (#3869).
author
Carl Hetherington
<carl@carlh.net>
Thu, 24 Mar 2011 11:48:12 +0000
(11:48 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Thu, 24 Mar 2011 11:48:12 +0000
(11:48 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9199
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_mouse.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_mouse.cc
b/gtk2_ardour/editor_mouse.cc
index 58e83c5efa79cc7ca84be3dc3c14f17ed06d1869..9c1b764985e4e840b9807795bfb796cd03fa593a 100644
(file)
--- a/
gtk2_ardour/editor_mouse.cc
+++ b/
gtk2_ardour/editor_mouse.cc
@@
-1049,6
+1049,11
@@
Editor::button_press_handler_2 (ArdourCanvas::Item* item, GdkEvent* event, ItemT
case MouseObject:
switch (item_type) {
case RegionItem:
+ if (internal_editing ()) {
+ /* no region drags in internal edit mode */
+ return false;
+ }
+
if (Keyboard::modifier_state_contains (event->button.state, Keyboard::CopyModifier)) {
add_region_copy_drag (item, event, clicked_regionview);
} else {