From fd1f68c34a44067f7ed2a0125a0c84fb342fd43e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 7 May 2024 16:12:56 -0600 Subject: [PATCH] allow mixer strip button events to fall through to parent, part 2 --- gtk2_ardour/mixer_strip.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index bad3e568c7..1f09a3bad6 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1209,6 +1209,15 @@ MixerStrip::build_route_ops_menu () gboolean MixerStrip::name_button_button_press (GdkEventButton* ev) { + if (ev->button == 1) { + /* fall thru to mixer */ + return false; + } + + if (ev->button == 3 && ARDOUR::Profile->get_livetrax() && _route && _route->is_singleton ()) { + return true; + } + if (ev->button == 1 || ev->button == 3) { list_route_operations ();