Skip to content

Commit bc7339f

Browse files
committed
VST Host: Linux: Map plugin window even with XEMBED_MAPPED unset
1 parent 04bba0f commit bc7339f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,8 @@ struct VSTPluginWindow final : public AudioProcessorEditor,
730730
DesktopComponent desktopComponent;
731731
XEmbedComponent xembedComponent { XEmbedComponentOptions{}.withClientWindow (reinterpret_cast<Window> (desktopComponent.getPeer()->getNativeHandle()))
732732
.withWantsKeyboardFocus (true)
733-
.withAllowForeignWidgetToResizeComponent (false) };
733+
.withAllowForeignWidgetToResizeComponent (false)
734+
.withIgnoreXembedMapped() };
734735
#endif
735736
#else
736737
static constexpr auto nativeScaleFactor = 1.0f;

0 commit comments

Comments
 (0)