From aaa204c608a19be44677e207fbc51c168ed831c1 Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 23 Sep 2025 11:49:27 +0100 Subject: [PATCH] LV2 Client: Avoid advertising noUserResize as extension data --- .../juce_audio_plugin_client_LV2.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp b/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp index 7d494752a6..a648d047cf 100644 --- a/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp +++ b/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp @@ -1381,7 +1381,6 @@ private: "\t\tui:idleInterface ,\n" #endif "\t\topts:interface ,\n" - "\t\tui:noUserResize ,\n" // resize and noUserResize are always present in the extension data array "\t\tui:resize ;\n" "\n" "\tlv2:requiredFeature\n" @@ -1833,13 +1832,11 @@ LV2_SYMBOL_EXPORT const LV2UI_Descriptor* lv2ui_descriptor (uint32_t index) } }; - // We'll always define noUserResize and idle in the extension data array, but we'll - // only declare them in the ui.ttl if the UI is actually non-resizable, or requires - // idle callbacks. + // We'll always define idle in the extension data array, but we'll + // only declare it in the ui.ttl if the UI requires idle callbacks. // Well-behaved hosts should check the ttl before trying to search the // extension-data array. static const LV2_Feature features[] { { LV2_UI__resize, &resize }, - { LV2_UI__noUserResize, nullptr }, { LV2_UI__idleInterface, &idle }, { LV2_OPTIONS__interface, &options } };