sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit f5ed65e633b6ec3afe4a5f654a48fd96f187b282
parent d77681ea3d84f1f02164f3cb0a29a42616afd23b
Author: frsfnrrg <frsfnrrg@users.noreply.github.com>
Date:   Thu, 31 May 2018 19:33:38 -0400

Use XKB keycode numbering for bindcode

Diffstat:
Msway/commands/bind.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/commands/bind.c b/sway/commands/bind.c @@ -158,7 +158,7 @@ static struct cmd_results * cmd_bindsym_or_bindcode(int argc, char **argv, bool } if (bindcode) { - *key = (uint32_t) (keycode - 8); + *key = (uint32_t) keycode; } else { *key = (uint32_t) keysym; }