From b2a59209711ba2d3c1dee1005ce7dc26b8f9a5f8 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 9 Apr 2025 20:18:29 +0200 Subject: [PATCH] Fix RegionFx processor selection, leave notify This fixes "delete" keyboard shortcut when the mouse. Previously moving the mouse from the box to the selected processor unset the `current_rfx_box` pointer. --- gtk2_ardour/region_editor.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/region_editor.cc b/gtk2_ardour/region_editor.cc index cfaab16338..1c94977f46 100644 --- a/gtk2_ardour/region_editor.cc +++ b/gtk2_ardour/region_editor.cc @@ -788,7 +788,13 @@ RegionEditor::RegionFxBox::enter_notify (GdkEventCrossing* ev) bool RegionEditor::RegionFxBox::leave_notify (GdkEventCrossing* ev) { + if (ev->detail == GDK_NOTIFY_INFERIOR || ev->detail == GDK_NOTIFY_NONLINEAR || ev->detail == GDK_NOTIFY_NONLINEAR_VIRTUAL) { + /* leaving towards a child - here a Processor Entry */ + return false; + } + current_rfx_box = 0; + _display.select_none (); return false; }