Browse Source

Stop assuming geometric-constrained windows are user resizable

Signed-off-by: falkTX <falktx@falktx.com>
pull/309/head
falkTX 3 years ago
parent
commit
b88e92c522
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      dgl/src/Window.cpp

+ 0
- 6
dgl/src/Window.cpp View File

@@ -300,12 +300,6 @@ void Window::setGeometryConstraints(const uint minimumWidth,
DISTRHO_SAFE_ASSERT_RETURN(minimumWidth > 0,);
DISTRHO_SAFE_ASSERT_RETURN(minimumHeight > 0,);

if (pData->isEmbed) {
// nothing to do here
} else if (! isResizable()) {
setResizable(true);
}

pData->minWidth = minimumWidth;
pData->minHeight = minimumHeight;
pData->autoScaling = automaticallyScale;


Loading…
Cancel
Save