From 80650b67225660d557e6027b1fb8fb17f0564eec Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 6 Apr 2023 19:28:09 +0100 Subject: [PATCH] keybinds: allow MOD1 as an alias of ALT --- src/managers/KeybindManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 8730fa45..51043b04 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -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;