diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-03-19 13:36:37 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-03-19 13:36:37 +0100 |
commit | 8c7bdfc0047004245000b060f8187af3f2898feb (patch) | |
tree | ceb945b1656054e6bf3dd5d13765d79b713feae0 /sway | |
parent | 91192e3c6535bcc1898657d553417f6c7ad4ad14 (diff) |
Allow legal non-x11 keycodes
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index 38bfd68a..e03eef24 100644 --- 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); |