VST3: work-around endless/recursive resize requests

Some plugins correct their own size when resized which can lead
to endlessly growing GUIs. In particular this issue exists
if Ardour's plugin-toolbar forces a plugin to grow in size to fill
the allocated space. While the plugin aims for fixed aspect-ratio.

This will need a proper solution involving VST's checkSizeConstraint,
however GTK+2 does not have an appropriate API...
This commit is contained in:
Robin Gareus 2020-09-18 02:11:25 +02:00
parent 5dc3f2a320
commit 67b1481c12
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
6 changed files with 18 additions and 16 deletions

View file

@ -35,8 +35,6 @@
#undef NO
#endif
#include <gtkmm/widget.h>
#include <gtkmm/eventbox.h>