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:
parent
3c8fbc0bfe
commit
e0f64bb27a
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue