diff --git a/src/config/WallpaperMatcher.cpp b/src/config/WallpaperMatcher.cpp index 3691816..3c67f36 100644 --- a/src/config/WallpaperMatcher.cpp +++ b/src/config/WallpaperMatcher.cpp @@ -47,7 +47,7 @@ bool CWallpaperMatcher::outputExists(const std::string_view& s) { std::optional> CWallpaperMatcher::getSetting(const std::string_view& monName, const std::string_view& monDesc) { for (const auto& m : m_monitorStates) { - if (m.name != monName && (monDesc.empty() || !m.desc.starts_with(monDesc))) + if (m.name != monName) continue; for (const auto& s : m_settings) {