commit 34154b473e92d38c086f3534e32716619f437369
parent e59b5a5c155bef245006b562ad465d83d065a6b5
Author: falkTX <falktx@falktx.com>
Date: Thu, 26 Aug 2021 11:49:28 +0100
Forgot to set isStandalone
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/distrho/extra/ExternalWindow.hpp b/distrho/extra/ExternalWindow.hpp
@@ -59,7 +59,7 @@ START_NAMESPACE_DISTRHO
This mode is only possible in LV2 plugin formats, using lv2ui:showInterface extension.
* Standalone:
- The UI is not embed into the host or use its event-loop, basically running as standalone.
+ The UI is not embed into the host or uses its event-loop, basically running as standalone.
The host only has control over showing and hiding the window, nothing else.
The UI is still free to close itself at any point.
DPF will keep calling isRunning() to check if it should keep the event-loop running.
diff --git a/distrho/src/DistrhoUIPrivateData.hpp b/distrho/src/DistrhoUIPrivateData.hpp
@@ -130,6 +130,7 @@ public:
: ui(uiPtr)
{
app.ui = ui;
+ ui->pData.isStandalone = DISTRHO_UI_IS_STANDALONE;
}
// fetch cached data