diff options
author | vaxerski <[email protected]> | 2022-09-21 17:41:19 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-09-21 17:41:26 +0100 |
commit | d3ffccd45ff6d6f7bf8cd08b4c1d9e0c00635ab4 (patch) | |
tree | bb1b7b58f39ea411d7899494f102e0b52660982f | |
parent | d49af1cc183bae57b8fa794b0063f86050370f22 (diff) | |
download | Hyprland-d3ffccd45ff6d6f7bf8cd08b4c1d9e0c00635ab4.tar.gz Hyprland-d3ffccd45ff6d6f7bf8cd08b4c1d9e0c00635ab4.zip |
accept any case in bindsv0.14.0beta
-rw-r--r-- | src/config/ConfigManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 94a81458..f3c99e86 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -703,6 +703,9 @@ void CConfigManager::handleBind(const std::string& command, const std::string& v if (mouse) HANDLER = "mouse"; + // to lower + std::transform(HANDLER.begin(), HANDLER.end(), HANDLER.begin(), ::tolower); + const auto DISPATCHER = g_pKeybindManager->m_mDispatchers.find(HANDLER); if (DISPATCHER == g_pKeybindManager->m_mDispatchers.end()) { |