Browse Source

Remove initial LV2 ui size via ui_resize extension, bye bye

Signed-off-by: falkTX <falktx@falktx.com>
pull/282/head
falkTX 4 years ago
parent
commit
0d6f63e9b2
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      distrho/src/DistrhoUILV2.cpp

+ 0
- 7
distrho/src/DistrhoUILV2.cpp View File

@@ -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();



Loading…
Cancel
Save