diff --git a/libs/juce/patches/linux-message-fix2.patch b/libs/juce/patches/linux-message-fix2.patch new file mode 100644 index 00000000..f054f9c8 --- /dev/null +++ b/libs/juce/patches/linux-message-fix2.patch @@ -0,0 +1,15 @@ +diff --git a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +index 85bf987..68987f5 100644 +--- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp ++++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +@@ -211,9 +211,8 @@ public: + void run() override + { + initialiseJuce_GUI(); +- initialised = true; +- + MessageManager::getInstance()->setCurrentThreadAsMessageThread(); ++ initialised = true; + + while ((! threadShouldExit()) && MessageManager::getInstance()->runDispatchLoopUntil (250)) + {}