We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb71d0f commit a69c8d7Copy full SHA for a69c8d7
1 file changed
src/config/WallpaperMatcher.cpp
@@ -47,7 +47,7 @@ bool CWallpaperMatcher::outputExists(const std::string_view& s) {
47
48
std::optional<CWallpaperMatcher::rw<const CConfigManager::SSetting>> CWallpaperMatcher::getSetting(const std::string_view& monName, const std::string_view& monDesc) {
49
for (const auto& m : m_monitorStates) {
50
- if (m.name != monName && !m.desc.starts_with(monDesc))
+ if (m.name != monName && (monDesc.empty() || !m.desc.starts_with(monDesc)))
51
continue;
52
53
for (const auto& s : m_settings) {
0 commit comments