diff options
author | Stefan Westerfeld <stefan@space.twc.de> | 2018-08-08 13:25:04 +0200 |
---|---|---|
committer | Stefan Westerfeld <stefan@space.twc.de> | 2018-08-08 13:25:04 +0200 |
commit | 2fc5ed1e72e07faa7ffedafa22e6cb8f930eacea (patch) | |
tree | bf601f2f4650dd0380263e64cc30c5a011d8fcc8 /libs/ardour/session_vst.cc | |
parent | 4bc96f65cd9fee415292ecc59f06a31a3ac87fdb (diff) |
Let VST plugins know that we implement plugin window resizing.
Diffstat (limited to 'libs/ardour/session_vst.cc')
-rw-r--r-- | libs/ardour/session_vst.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/session_vst.cc b/libs/ardour/session_vst.cc index 2720334ad5..c91bdcf235 100644 --- a/libs/ardour/session_vst.cc +++ b/libs/ardour/session_vst.cc @@ -50,7 +50,8 @@ const char* Session::vst_can_do_strings[] = { X_("receiveVstMidiEvent"), X_("supportShell"), X_("shellCategory"), - X_("shellCategorycurID") + X_("shellCategorycurID"), + X_("sizeWindow") }; const int Session::vst_can_do_string_count = sizeof (vst_can_do_strings) / sizeof (char*); @@ -346,7 +347,7 @@ intptr_t Session::vst_callback ( plug->VSTSizeWindow (); /* EMIT SIGNAL */ } } - return 0; + return 1; case audioMasterGetSampleRate: SHOW_CALLBACK ("audioMasterGetSampleRate"); |