diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-30 13:20:56 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-30 13:20:56 -0700 |
commit | f787fac8fc1ecc8245ccba848627fbca5a5b63a5 (patch) | |
tree | 8eb3bec2fff79298bc01d478e9f5c0e494a0b5ff /sway/commands.c | |
parent | 122ca38c205318873e4336163f22db853f41bd7c (diff) |
#153 add "ctrl" and "alt" to modifiers struct
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 }, |