Handle X11 events in Vst3Bridge

This commit is contained in:
Robbert van der Helm
2020-12-19 23:55:21 +01:00
parent 960e2d50d1
commit 36c2d877c2
+8 -2
View File
@@ -507,11 +507,17 @@ void Vst3Bridge::run() {
}
void Vst3Bridge::handle_x11_events() {
// TODO: Implement editors
std::lock_guard lock(object_instances_mutex);
for (const auto& [instance_id, object] : object_instances) {
if (object.editor) {
object.editor->handle_x11_events();
}
}
}
void Vst3Bridge::handle_win32_events() {
// TODO: Implement editors
// TODO: Remove this function from the `Editor`
MSG msg;