diff options
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 717fd6d44b..b4e8e0001e 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -353,6 +353,7 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event) { if (_keyboard_focused) { if (_pluginui) { + _pluginui->grab_focus(); if (_pluginui->non_gtk_gui()) { _pluginui->forward_key_event (event); } else { @@ -366,6 +367,7 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event) */ if (_pluginui) { + _pluginui->grab_focus(); if (_pluginui->non_gtk_gui()) { /* pass editor window as the window for the event to be handled in, not this one, because there are |