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

VST Host: Linux: Map plugin window even with XEMBED_MAPPED unset

This commit is contained in:
attila 2026-01-08 00:08:15 +01:00 committed by Attila Szarvas
parent 04bba0f2be
commit bc7339fe07

View file

@ -730,7 +730,8 @@ private:
DesktopComponent desktopComponent; DesktopComponent desktopComponent;
XEmbedComponent xembedComponent { XEmbedComponentOptions{}.withClientWindow (reinterpret_cast<Window> (desktopComponent.getPeer()->getNativeHandle())) XEmbedComponent xembedComponent { XEmbedComponentOptions{}.withClientWindow (reinterpret_cast<Window> (desktopComponent.getPeer()->getNativeHandle()))
.withWantsKeyboardFocus (true) .withWantsKeyboardFocus (true)
.withAllowForeignWidgetToResizeComponent (false) }; .withAllowForeignWidgetToResizeComponent (false)
.withIgnoreXembedMapped() };
#endif #endif
#else #else
static constexpr auto nativeScaleFactor = 1.0f; static constexpr auto nativeScaleFactor = 1.0f;