diff options
author | David Robillard <d@drobilla.net> | 2014-12-05 16:54:29 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-05 17:36:02 -0500 |
commit | a65cd2a1b9d23ab368c310edf1ee75fb8295e718 (patch) | |
tree | a6db57629e470f84a2651123b72ea6d439adca3c /gtk2_ardour/editor_mouse.cc | |
parent | 9266e7524aba32e93a6385547ce8b7888ef34a8c (diff) |
Make scroll work on MIDI regions when internal.
For some reason, grabbing the magic keyboard focus makes scroll stop working
regardless of what MRV::canvas_group_event() returns. I can't figure out any
reason to grab the keyboard in this case anyway, so I just removed it.
Also simlify MRV event handling code in general.
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r-- | gtk2_ardour/editor_mouse.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index 52378af473..f7a7855eaa 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -758,7 +758,6 @@ Editor::button_press_handler_1 (ArdourCanvas::Item* item, GdkEvent* event, ItemT } } else { if (Keyboard::modifier_state_equals (event->button.state, Keyboard::RangeSelectModifier)) { - cerr << "extend selection\n"; _drags->set (new SelectionDrag (this, item, SelectionDrag::SelectionExtend), event); } else { _drags->set (new SelectionDrag (this, item, SelectionDrag::CreateSelection), event); @@ -777,7 +776,6 @@ Editor::button_press_handler_1 (ArdourCanvas::Item* item, GdkEvent* event, ItemT default: if (!internal_editing()) { if (Keyboard::modifier_state_equals (event->button.state, Keyboard::RangeSelectModifier)) { - cerr << "extend selection 2\n"; _drags->set (new SelectionDrag (this, item, SelectionDrag::SelectionExtend), event); } else { _drags->set (new SelectionDrag (this, item, SelectionDrag::CreateSelection), event); |