aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-02-09 04:48:25 +0000
committerVaxry <[email protected]>2024-02-09 04:48:25 +0000
commit1713221ba2764df9396d000bf08f0dc2aabd1a05 (patch)
tree636046c199fc9c6958be7c930d032748292d397d
parentd1ba1425b6df77d7ef3e5bdf5efce7d81aa85e99 (diff)
downloadHyprland-1713221ba2764df9396d000bf08f0dc2aabd1a05.tar.gz
Hyprland-1713221ba2764df9396d000bf08f0dc2aabd1a05.zip
fix swapped args
-rw-r--r--src/config/ConfigManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 0c3f1a60..905cfb63 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -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());