sway

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

commit 8c7bdfc0047004245000b060f8187af3f2898feb
parent 91192e3c6535bcc1898657d553417f6c7ad4ad14
Author: Mikkel Oscar Lyderik <mikkeloscar@gmail.com>
Date:   Sat, 19 Mar 2016 13:36:37 +0100

Allow legal non-x11 keycodes

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

diff --git a/sway/commands.c b/sway/commands.c @@ -317,7 +317,7 @@ static struct cmd_results *cmd_bindcode(int argc, char **argv) { } // parse keycode int keycode = (int)strtol(split->items[i], NULL, 10); - if (!xkb_keycode_is_legal_x11(keycode)) { + if (!xkb_keycode_is_legal_ext(keycode)) { error = cmd_results_new(CMD_INVALID, "bindcode", "Invalid keycode '%s'", (char *)split->items[i]); free_sway_binding(binding); list_free(split);