Browse Source

Partially reverts a1748a1a9f

See #90

Signed-off-by: falkTX <falktx@gmail.com>
pull/98/head
falkTX 5 years ago
parent
commit
cf980eb2a0
Signed by: falkTX <falktx@gmail.com> GPG Key ID: 2D3445A829213837
2 changed files with 7 additions and 23 deletions
  1. +1
    -1
      dgl/src/Window.cpp
  2. +6
    -22
      distrho/src/DistrhoPluginLV2export.cpp

+ 1
- 1
dgl/src/Window.cpp View File

@@ -153,7 +153,7 @@ struct Window::PrivateData {
fView(puglInit()),
fFirstInit(true),
fVisible(parentId != 0),
fResizable(true),
fResizable(parentId == 0),
fUsingEmbed(parentId != 0),
fWidth(1),
fHeight(1),


+ 6
- 22
distrho/src/DistrhoPluginLV2export.cpp View File

@@ -139,17 +139,9 @@ void lv2_generate_ttl(const char* const basename)
# endif
manifestString += "\n";
# if DISTRHO_PLUGIN_HAS_EMBED_UI
/*
if (! pluginUI.isUserResizable())
{
manifestString += " lv2:optionalFeature ui:noUserResize ,\n";
manifestString += " ui:resize ,\n";
}
else
*/
{
manifestString += " lv2:optionalFeature ui:resize ,\n";
}
// TODO: pluginUI.isUserResizable()
manifestString += " lv2:optionalFeature ui:noUserResize ,\n";
manifestString += " ui:resize ,\n";
manifestString += " ui:touch ;\n";
manifestString += "\n";
# endif
@@ -638,17 +630,9 @@ void lv2_generate_ttl(const char* const basename)
# endif
uiString += "\n";
# if DISTRHO_PLUGIN_HAS_EMBED_UI
/*
if (! pluginUI.isUserResizable())
{
uiString += " lv2:optionalFeature ui:noUserResize ,\n";
uiString += " ui:resize ,\n";
}
else
*/
{
uiString += " lv2:optionalFeature ui:resize ,\n";
}
// TODO: pluginUI.isUserResizable()
uiString += " lv2:optionalFeature ui:noUserResize ,\n";
uiString += " ui:resize ,\n";
uiString += " ui:touch ;\n";
uiString += "\n";
# endif


Loading…
Cancel
Save