keybinds: allow MOD1 as an alias of ALT

This commit is contained in:
vaxerski 2023-04-06 19:28:09 +01:00
parent a740e3e517
commit 80650b6722
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ uint32_t CKeybindManager::stringToModMask(std::string mods) {
modMask |= WLR_MODIFIER_CAPS;
if (mods.contains("CTRL") || mods.contains("CONTROL"))
modMask |= WLR_MODIFIER_CTRL;
if (mods.contains("ALT"))
if (mods.contains("ALT") || mods.contains("MOD1"))
modMask |= WLR_MODIFIER_ALT;
if (mods.contains("MOD2"))
modMask |= WLR_MODIFIER_MOD2;