Browse Source

Give focus to VST3 UI when instructed by the host

Signed-off-by: falkTX <falktx@falktx.com>
pull/357/head
falkTX 3 years ago
parent
commit
33967164d9
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      distrho/src/DistrhoUIVST3.cpp

+ 2
- 0
distrho/src/DistrhoUIVST3.cpp View File

@@ -242,6 +242,8 @@ public:

v3_result onFocus(const bool state)
{
if (state)
fUI.focus();
fUI.notifyFocusChanged(state);
return V3_OK;
}


Loading…
Cancel
Save