From 94330cbb533442818dce4e84100863f6574da0ce Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 11 Feb 2021 10:57:12 +0000 Subject: [PATCH] VST3: Repaint editor when size changes in Bitwig on Linux to fix UI glitches --- .../VST3/juce_VST3_Wrapper.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index 43d93a388a..640c374b05 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -1567,8 +1567,15 @@ private: { lastBounds = b; - const ScopedValueSetter resizingParentSetter (resizingParent, true); - resizeHostWindow(); + { + const ScopedValueSetter resizingParentSetter (resizingParent, true); + resizeHostWindow(); + } + + #if JUCE_LINUX + if (getHostType().isBitwigStudio()) + repaint(); + #endif } }