From 1477bca76ec65546af539ab059bab31b49990bd9 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 28 Oct 2019 16:14:30 +0100 Subject: [PATCH] Skip X11 LV2UI check on Windows and MacOS --- libs/ardour/lv2_plugin.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 5c19501cdc..6b1dbde4ca 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -851,6 +851,7 @@ LV2Plugin::init(const void* c_plugin, samplecnt_t rate) #ifdef HAVE_SUIL const LilvUI* this_ui = NULL; const LilvNode* this_ui_type = NULL; +#if ! (defined(__APPLE__) || defined(PLATFORM_WINDOWS)) // Always prefer X11 UIs... LILV_FOREACH(uis, i, uis) { const LilvUI* ui = lilv_uis_get(uis, i); @@ -860,6 +861,7 @@ LV2Plugin::init(const void* c_plugin, samplecnt_t rate) break; } } +#endif // then anything else... if (this_ui_type == NULL) { LILV_FOREACH(uis, i, uis) {