mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 18:05:59 +01:00
fix swapped args
This commit is contained in:
parent
d1ba1425b6
commit
1713221ba2
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ void CConfigManager::tick() {
|
|||
|
||||
Hyprlang::CConfigValue* CConfigManager::getConfigValueSafeDevice(const std::string& dev, const std::string& val, const std::string& fallback) {
|
||||
|
||||
const auto VAL = m_pConfig->getSpecialConfigValuePtr("device", dev.c_str(), val.c_str());
|
||||
const auto VAL = m_pConfig->getSpecialConfigValuePtr("device", val.c_str(), dev.c_str());
|
||||
|
||||
if ((!VAL || !VAL->m_bSetByUser) && !fallback.empty()) {
|
||||
return m_pConfig->getConfigValuePtr(fallback.c_str());
|
||||
|
|
Loading…
Reference in a new issue