mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11:28 +00:00
#153 add "ctrl" and "alt" to modifiers struct
This commit is contained in:
parent
122ca38c20
commit
f787fac8fc
|
@ -30,7 +30,9 @@ static struct modifier_key modifiers[] = {
|
||||||
{ XKB_MOD_NAME_SHIFT, WLC_BIT_MOD_SHIFT },
|
{ XKB_MOD_NAME_SHIFT, WLC_BIT_MOD_SHIFT },
|
||||||
{ XKB_MOD_NAME_CAPS, WLC_BIT_MOD_CAPS },
|
{ XKB_MOD_NAME_CAPS, WLC_BIT_MOD_CAPS },
|
||||||
{ XKB_MOD_NAME_CTRL, WLC_BIT_MOD_CTRL },
|
{ XKB_MOD_NAME_CTRL, WLC_BIT_MOD_CTRL },
|
||||||
|
{ "Ctrl", WLC_BIT_MOD_CTRL },
|
||||||
{ XKB_MOD_NAME_ALT, WLC_BIT_MOD_ALT },
|
{ XKB_MOD_NAME_ALT, WLC_BIT_MOD_ALT },
|
||||||
|
{ "Alt", WLC_BIT_MOD_ALT },
|
||||||
{ XKB_MOD_NAME_NUM, WLC_BIT_MOD_MOD2 },
|
{ XKB_MOD_NAME_NUM, WLC_BIT_MOD_MOD2 },
|
||||||
{ "Mod3", WLC_BIT_MOD_MOD3 },
|
{ "Mod3", WLC_BIT_MOD_MOD3 },
|
||||||
{ XKB_MOD_NAME_LOGO, WLC_BIT_MOD_LOGO },
|
{ XKB_MOD_NAME_LOGO, WLC_BIT_MOD_LOGO },
|
||||||
|
|
Loading…
Reference in a new issue