Do not show resize handle on standalone

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-04-02 03:18:23 +01:00
parent f5ca52b5e4
commit 1628f29a98
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
4 changed files with 15 additions and 3 deletions

View file

@ -29,6 +29,7 @@
#include "AsyncDialog.hpp"
#include "PluginContext.hpp"
#include "DistrhoPluginUtils.hpp"
#include <asset.hpp>
#include <context.hpp>
@ -58,6 +59,11 @@ namespace settings {
int rateLimit = 0;
}
bool isStandalone()
{
return std::strstr(getPluginFormatName(), "JACK") != nullptr;
}
#ifdef ARCH_WIN
std::string getSpecialPath(const SpecialPath type)
{