From dc460dac9dbbb4bc53eb012245462ba7bd427219 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 18 Oct 2014 20:40:11 +0100 Subject: [PATCH] Use a real X11 child window on Linux now that it's fixed --- .../juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libs/juce/source/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp b/libs/juce/source/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp index 45967545..66895182 100644 --- a/libs/juce/source/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp +++ b/libs/juce/source/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp @@ -1084,16 +1084,7 @@ private: if (parentContainer->isOnDesktop()) parentContainer->removeFromDesktop(); -#if (JUCE_MAC || JUCE_WINDOWS) parentContainer->addToDesktop (0, parent); -#elif JUCE_LINUX - parentContainer->addToDesktop (0); - - Window hostWindow = (Window) parent; - Window editorWnd = (Window) parentContainer->getWindowHandle(); - XReparentWindow (display, editorWnd, hostWindow, 0, 0); -#endif - parentContainer->reset (uiResize); parentContainer->setVisible (true); }