mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 00:09:49 +01:00
keybinds: allow MOD1 as an alias of ALT
This commit is contained in:
parent
a740e3e517
commit
80650b6722
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue