commit 0d6f63e9b284207efe27e798ccdfbb307ee56302
parent c8414618ce75d4759bcfb3493f01dcb002f02235
Author: falkTX <falktx@falktx.com>
Date: Sun, 30 May 2021 16:50:59 +0100
Remove initial LV2 ui size via ui_resize extension, bye bye
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/distrho/src/DistrhoUILV2.cpp b/distrho/src/DistrhoUILV2.cpp
@@ -97,13 +97,6 @@ public:
fURIDs(uridMap),
fWinIdWasNull(winId == 0)
{
-#if ! DISTRHO_UI_USER_RESIZABLE
- // this is not needed, hosts can query child window size
- // it is best for them to do so anyway, since properties other than current-size are important (like ratio)
- if (fUiResize != nullptr && winId != 0)
- fUiResize->ui_resize(fUiResize->handle, fUI.getWidth(), fUI.getHeight());
-#endif
-
if (widget != nullptr)
*widget = (LV2UI_Widget)fUI.getNativeWindowHandle();