diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 9f2f5601f89..09acc035cb0 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1946,14 +1946,11 @@ std::optional CConfigManager::handleBind(const std::string& command std::set MODS; if (multiKey) { - if (ARGS[1].contains('&')) { - for (auto splitKey : CVarList(ARGS[1], 8, '&')) { - KEYSYMS.insert(xkb_keysym_from_name(splitKey.c_str(), XKB_KEYSYM_NO_FLAGS)); - } + for (auto splitKey : CVarList(ARGS[1], 8, '&')) { + KEYSYMS.insert(xkb_keysym_from_name(splitKey.c_str(), XKB_KEYSYM_CASE_INSENSITIVE)); } - for (auto splitMod : CVarList(ARGS[0], 8, '&')) { - MODS.insert(xkb_keysym_from_name(splitMod.c_str(), XKB_KEYSYM_NO_FLAGS)); + MODS.insert(xkb_keysym_from_name(splitMod.c_str(), XKB_KEYSYM_CASE_INSENSITIVE)); } } const auto MOD = g_pKeybindManager->stringToModMask(ARGS[0]);