From 318af69057afece52c726d6cbb89739ce68622b1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 24 Sep 2023 14:59:46 -0600 Subject: [PATCH] do not grab magic widget focus for MIDI editing purposes The bindings use will all work just fine without this focus grab; the focus grab in turn confuses the use of some/all global bindings (such as the spacebar to toggle tranport state) --- gtk2_ardour/editor_mouse.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index a9f8f72c40..6ffb10c38e 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -408,16 +408,11 @@ Editor::mouse_mode_toggled (MouseMode m) */ ActionManager::set_sensitive (_midi_actions, true); - /* mark "magic widget focus" so that we handle key events - * correctly - */ - Keyboard::magic_widget_grab_focus (); } else { /* undo some of the above actions, since we're not in internal edit mode. */ ActionManager::set_sensitive (_midi_actions, false); - Keyboard::magic_widget_drop_focus (); } if (was_internal && !internal_editing()) {