From 6682e07fe674d9071b596e595cd5c2ca1d0ad75d Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 14 Jan 2015 12:21:44 +0000 Subject: [PATCH] Linux VST windowing fix. --- modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 43dea810f5..a5cd0ee055 100644 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -1184,6 +1184,8 @@ public: #elif JUCE_LINUX editorComp->addToDesktop (0, ptr); hostWindow = (Window) ptr; + Window editorWnd = (Window) editorComp->getWindowHandle(); + XReparentWindow (display, editorWnd, hostWindow, 0, 0); #else hostWindow = attachComponentToWindowRef (editorComp, ptr, useNSView); #endif