summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mixer.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-07-24 11:28:31 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-07-24 11:28:31 -0500
commit61c66afd4c54888449cb5ac635f9694cd8415e37 (patch)
treeb69c8d0417a3103c211e86734e8f8f2e86dede25 /gtk2_ardour/editor_mixer.cc
parent05f3adaba3eb42ba407864dd04064472e68948a6 (diff)
Revert previous select-strips-under-mouse behavior
However, keep the path for deletions in the editor-mixer via _entered_mixer_strip TODO: if nothing was deleted, assume the user was trying to delete something in the editor instead Show selected plugins by a red border TODO: more work on the selection model for plugins and mixer strips
Diffstat (limited to 'gtk2_ardour/editor_mixer.cc')
-rw-r--r--gtk2_ardour/editor_mixer.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc
index 2154da5d70..6251f77ee7 100644
--- a/gtk2_ardour/editor_mixer.cc
+++ b/gtk2_ardour/editor_mixer.cc
@@ -184,27 +184,6 @@ Editor::create_editor_mixer ()
#endif
current_mixer_strip->set_embedded (true);
- current_mixer_strip->signal_enter_notify_event().connect (sigc::mem_fun(*this, &Editor::mixer_strip_enter_event ));
- current_mixer_strip->signal_leave_notify_event().connect (sigc::mem_fun(*this, &Editor::mixer_strip_leave_event ));
-
-}
-
-bool
-Editor::mixer_strip_enter_event (GdkEventCrossing *ev)
-{
- current_mixer_strip->set_selected(true);
- return false;
-}
-
-bool
-Editor::mixer_strip_leave_event (GdkEventCrossing *ev)
-{
- //if we have moved outside our strip, but not into a child view, then deselect ourselves
- if ( !(ev->detail == GDK_NOTIFY_INFERIOR) ) {
- current_mixer_strip->set_selected(false);
- }
-
- return false;
}
void