From f787fac8fc1ecc8245ccba848627fbca5a5b63a5 Mon Sep 17 00:00:00 2001 From: taiyu Date: Sun, 30 Aug 2015 13:20:56 -0700 Subject: [PATCH] #153 add "ctrl" and "alt" to modifiers struct --- sway/commands.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sway/commands.c b/sway/commands.c index c31911de..9a90fe5f 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 },