mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-05 03:26:00 +01:00
parent
5329298b52
commit
8b51eeb7ae
1 changed files with 2 additions and 2 deletions
|
@ -2988,13 +2988,13 @@ SDispatchResult CKeybindManager::setProp(std::string args) {
|
||||||
else
|
else
|
||||||
configStringToInt(TOKEN).and_then([&colorData](const auto& e) {
|
configStringToInt(TOKEN).and_then([&colorData](const auto& e) {
|
||||||
colorData.m_vColors.push_back(e);
|
colorData.m_vColors.push_back(e);
|
||||||
return std::result_of<decltype (&configStringToInt)(std::string)>::type(1);
|
return std::invoke_result_t<decltype(::configStringToInt), const std::string&>(1);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else if (VAL != "-1")
|
} else if (VAL != "-1")
|
||||||
configStringToInt(VAL).and_then([&colorData](const auto& e) {
|
configStringToInt(VAL).and_then([&colorData](const auto& e) {
|
||||||
colorData.m_vColors.push_back(e);
|
colorData.m_vColors.push_back(e);
|
||||||
return std::result_of<decltype (&configStringToInt)(std::string)>::type(1);
|
return std::invoke_result_t<decltype(::configStringToInt), const std::string&>(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (PROP == "activebordercolor")
|
if (PROP == "activebordercolor")
|
||||||
|
|
Loading…
Reference in a new issue