From dcee933ef595dc62fa9ea79d9d3cadaf85d0d543 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 19 Sep 2022 10:46:14 +0100 Subject: [PATCH] Fix CLAP UI under bitwig linux Signed-off-by: falkTX --- distrho/src/DistrhoPluginCLAP.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/distrho/src/DistrhoPluginCLAP.cpp b/distrho/src/DistrhoPluginCLAP.cpp index d725c083..5bcb2d87 100644 --- a/distrho/src/DistrhoPluginCLAP.cpp +++ b/distrho/src/DistrhoPluginCLAP.cpp @@ -367,10 +367,11 @@ public: fParentWindow = window->uptr; - /* - if (fUI != nullptr) + if (fUI == nullptr) + { createUI(); - */ + fHostGui->resize_hints_changed(fHost); + } return true; }