mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:29:48 +01:00
configmgr: fix idiotic comparisons in device configs
This commit is contained in:
parent
cbe9bf0e69
commit
cfa4086b0b
1 changed files with 1 additions and 1 deletions
|
@ -1661,7 +1661,7 @@ SConfigValue CConfigManager::getConfigValueSafeDevice(const std::string& dev, co
|
|||
if (foundIt == std::string::npos)
|
||||
continue;
|
||||
|
||||
if (cv.first == "input:" + val || cv.first == "input:touchpad:" + cv.first || cv.first == "input:touchdevice:" + val || cv.first == "input:tablet:" + cv.first ||
|
||||
if (cv.first == "input:" + val || cv.first == "input:touchpad:" + val || cv.first == "input:touchdevice:" + val || cv.first == "input:tablet:" + val ||
|
||||
cv.first == "input:tablet:" + val) {
|
||||
copy = cv.second;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue