13
0

prepare VST window resize

(this only triggers resizing the parent container window (like user
resizes), which is not sufficient for all plugins.
This commit is contained in:
Robin Gareus 2015-12-28 23:43:59 +01:00
parent 74e4081ef4
commit 6f347d325a

View File

@ -318,7 +318,9 @@ intptr_t Session::vst_callback (
case audioMasterSizeWindow:
SHOW_CALLBACK ("audioMasterSizeWindow");
// index: width, value: height
plug->state()->width = index;
plug->state()->height = value;
plug->state()->want_resize = 1;
return 0;
case audioMasterGetSampleRate: