sway

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

commit 302872440a73775feb1d68b45ebb719dff5534ba
parent 17543d3e00ce6d185a226abf9aa3322bc1460607
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 28 Apr 2016 15:12:02 -0400

Merge pull request #611 from mikkeloscar/bindcode-fix

Fix bindcode by offsetting xkb keycode by 8
Diffstat:
Msway/commands.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/commands.c b/sway/commands.c @@ -335,7 +335,7 @@ static struct cmd_results *cmd_bindcode(int argc, char **argv) { return error; } xkb_keycode_t *key = malloc(sizeof(xkb_keycode_t)); - *key = keycode; + *key = keycode - 8; list_add(binding->keys, key); } free_flat_list(split);