1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Linux VST windowing fix.

This commit is contained in:
jules 2015-01-14 12:21:44 +00:00
parent 45c620a996
commit 6682e07fe6

View file

@ -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