diff --git a/distrho/src/DistrhoUILV2.cpp b/distrho/src/DistrhoUILV2.cpp index 3573409a..5d6ca183 100644 --- 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();