diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-28 23:43:59 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-28 23:43:59 +0100 |
commit | 6f347d325a5348f958d6889dbe39caad289a3493 (patch) | |
tree | 36c34019d5b18a99290554732f2c6069508abcae /libs | |
parent | 74e4081ef422ff24343684d0eae1fe8404395c13 (diff) |
prepare VST window resize
(this only triggers resizing the parent container window (like user
resizes), which is not sufficient for all plugins.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session_vst.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/session_vst.cc b/libs/ardour/session_vst.cc index 009a4acc40..2aed71aa9c 100644 --- a/libs/ardour/session_vst.cc +++ b/libs/ardour/session_vst.cc @@ -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: |