mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 17:05:59 +01:00
fix crash in blurls remove
This commit is contained in:
parent
826e35f7a4
commit
9e4e98acfb
1 changed files with 1 additions and 1 deletions
|
@ -902,7 +902,7 @@ void CConfigManager::handleWindowRuleV2(const std::string& command, const std::s
|
|||
void CConfigManager::handleBlurLS(const std::string& command, const std::string& value) {
|
||||
if (value.find("remove,") == 0) {
|
||||
const auto TOREMOVE = removeBeginEndSpacesTabs(value.substr(7));
|
||||
m_dBlurLSNamespaces.erase(std::remove(m_dBlurLSNamespaces.begin(), m_dBlurLSNamespaces.end(), TOREMOVE));
|
||||
std::erase_if(m_dBlurLSNamespaces, [&] (const auto& other) { return other == TOREMOVE; });
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue