DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit b88e92c522fe0fe8e83a6084d0bfdaa000e0c9bf
parent 6f8e578ac6b3c585afb1dc8f0d8e478c3f727bd5
Author: falkTX <falktx@falktx.com>
Date:   Sat, 14 Aug 2021 12:59:19 +0100

Stop assuming geometric-constrained windows are user resizable

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdgl/src/Window.cpp | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp @@ -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;