diff --git a/sway/commands.c b/sway/commands.c index c31911de1..9a90fe5fc 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -30,7 +30,9 @@ static struct modifier_key modifiers[] = { { XKB_MOD_NAME_SHIFT, WLC_BIT_MOD_SHIFT }, { XKB_MOD_NAME_CAPS, WLC_BIT_MOD_CAPS }, { XKB_MOD_NAME_CTRL, WLC_BIT_MOD_CTRL }, + { "Ctrl", WLC_BIT_MOD_CTRL }, { XKB_MOD_NAME_ALT, WLC_BIT_MOD_ALT }, + { "Alt", WLC_BIT_MOD_ALT }, { XKB_MOD_NAME_NUM, WLC_BIT_MOD_MOD2 }, { "Mod3", WLC_BIT_MOD_MOD3 }, { XKB_MOD_NAME_LOGO, WLC_BIT_MOD_LOGO },