mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-16 13:40:05 +02:00
Fix focus handling when reopening REAPER FX window
REAPER initializes the plugin's editor first before reparenting the parent window to the FX window, so our `topmost_window` didn't actually refer to the FX window.
This commit is contained in:
@@ -1171,7 +1171,7 @@ void Vst3Bridge::run() {
|
||||
void Vst3Bridge::handle_x11_events() noexcept {
|
||||
std::lock_guard lock(object_instances_mutex);
|
||||
|
||||
for (const auto& [instance_id, object] : object_instances) {
|
||||
for (auto& [instance_id, object] : object_instances) {
|
||||
if (object.editor) {
|
||||
object.editor->handle_x11_events();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user