1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Changed the linux VST wrapper to create its window directly inside the host's window.

This commit is contained in:
jules 2014-05-30 10:39:55 +01:00
parent 3c8fbc0bfe
commit e0f64bb27a

View file

@ -1161,10 +1161,8 @@ public:
editorComp->addToDesktop (0, ptr);
hostWindow = (HWND) ptr;
#elif JUCE_LINUX
editorComp->addToDesktop (0);
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