Add VST always-on-top config option

This commit is contained in:
Dominic Clark
2019-03-03 16:01:07 +00:00
committed by Hyunjin Song
parent 295b899df2
commit 17f6235500
3 changed files with 45 additions and 8 deletions

View File

@@ -329,7 +329,9 @@ bool VstPlugin::processMessage( const message & _m )
case IdVstPluginWindowID:
m_pluginWindowID = _m.getInt();
if( m_embedMethod == "none" )
if( m_embedMethod == "none"
&& ConfigManager::inst()->value(
"ui", "vstalwaysontop" ).toInt() )
{
#ifdef LMMS_BUILD_WIN32
// We're changing the owner, not the parent,