diff --git a/source/backend/plugin/CarlaPluginVST2.cpp b/source/backend/plugin/CarlaPluginVST2.cpp index 4d15d8dbf..11e6f7928 100644 --- a/source/backend/plugin/CarlaPluginVST2.cpp +++ b/source/backend/plugin/CarlaPluginVST2.cpp @@ -484,13 +484,8 @@ public: void idle() override { - if (fUI.window != nullptr) - { - fUI.window->idle(); - - if (fUI.isVisible) - dispatcher(effEditIdle, 0, 0, nullptr, 0.0f); - } + if (fNeedIdle) + dispatcher(effIdle, 0, 0, nullptr, 0.0f); CarlaPlugin::idle(); }