diff --git a/src/executable-switch.cpp b/src/executable-switch.cpp index 512be7f3..0aac4418 100644 --- a/src/executable-switch.cpp +++ b/src/executable-switch.cpp @@ -180,7 +180,7 @@ void SwitcherData::checkExeSwitch(bool &match, OBSWeakSource &scene, bool focus = (!s.mInFocus || isInFocus(s.mExe)); // True if current window is ignored AND switch equals OR matches last window bool ignore = - (ignored && (title == s.mExe || + (ignored && (title == s.mExe.toStdString() || QString::fromStdString(title).contains( QRegularExpression(s.mExe))));