summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-25 17:41:04 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-25 17:41:04 +0000
commitc862d320ffccf739785e4b9aa59d7842e6f50ace (patch)
treeaf323d5776103e7dde0a3f668b88ab6fe02c3edd /gtk2_ardour
parentba2c3baa99ae078eca48e1b8fe7547f9d6e37148 (diff)
Improve visual cues during plugin drag and drop. Fixes #3566.
git-svn-id: svn://localhost/ardour2/branches/3.0@8085 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/processor_box.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc
index c4849c9fc3..673b3dc1bb 100644
--- a/gtk2_ardour/processor_box.cc
+++ b/gtk2_ardour/processor_box.cc
@@ -514,8 +514,9 @@ ProcessorBox::processor_key_release_event (GdkEventKey *ev)
int x, y;
processor_display.get_pointer (x, y);
+
- pair<ProcessorEntry *, int> const pointer = processor_display.get_child_at_position (x, y);
+ pair<ProcessorEntry *, double> const pointer = processor_display.get_child_at_position (y);
if (pointer.first) {
targets.push_back (pointer.first->processor ());