|
|
|
@@ -2086,6 +2086,14 @@ public: |
|
|
|
plugin.dispatch (effEditIdle, 0, 0, 0, 0);
|
|
|
|
reentrant = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
#if JUCE_LINUX
|
|
|
|
if (pluginWindow == 0)
|
|
|
|
{
|
|
|
|
updatePluginWindowHandle();
|
|
|
|
componentMovedOrResized (true, true);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@@ -2271,11 +2279,7 @@ private: |
|
|
|
}
|
|
|
|
|
|
|
|
#elif JUCE_LINUX
|
|
|
|
pluginWindow = getChildWindow ((Window) getWindowHandle());
|
|
|
|
|
|
|
|
if (pluginWindow != 0)
|
|
|
|
pluginProc = (EventProcPtr) getPropertyFromXWindow (pluginWindow,
|
|
|
|
XInternAtom (display, "_XEventProc", False));
|
|
|
|
updatePluginWindowHandle();
|
|
|
|
|
|
|
|
int w = 250, h = 150;
|
|
|
|
|
|
|
|
@@ -2503,6 +2507,15 @@ private: |
|
|
|
sendEventToChild (ev);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void updatePluginWindowHandle()
|
|
|
|
{
|
|
|
|
pluginWindow = getChildWindow ((Window) getWindowHandle());
|
|
|
|
|
|
|
|
if (pluginWindow != 0)
|
|
|
|
pluginProc = (EventProcPtr) getPropertyFromXWindow (pluginWindow,
|
|
|
|
XInternAtom (display, "_XEventProc", False));
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
|