diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-23 16:13:55 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-07-23 16:13:55 -0500 |
commit | d46081c2756d2990f585a7db41adba9f1a15a1e3 (patch) | |
tree | 7290ec444193d9a2a501474be6e9f59a10e0977c /gtk2_ardour/editor_mixer.cc | |
parent | 870206cf92453dac8c6bc020eca3d4808b024d7f (diff) |
holding Primary(ctrl/cmd) allows user to make noncontiguous strip selections
Diffstat (limited to 'gtk2_ardour/editor_mixer.cc')
-rw-r--r-- | gtk2_ardour/editor_mixer.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc index cfd832385f..b9a711c2ec 100644 --- a/gtk2_ardour/editor_mixer.cc +++ b/gtk2_ardour/editor_mixer.cc @@ -183,6 +183,16 @@ Editor::create_editor_mixer () current_mixer_strip->WidthChanged.connect (sigc::mem_fun(*this, &Editor::ensure_all_elements_drawn)); #endif current_mixer_strip->set_embedded (true); + + current_mixer_strip->signal_enter_notify_event().connect (sigc::mem_fun(*this, &Editor::mixer_strip_enter_event )); + +} + +bool +Editor::mixer_strip_enter_event (GdkEventCrossing *ev) +{ + current_mixer_strip->set_selected(true); + return false; } void |