sway

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

commit c1f91c4f5e5ad9a4300e254a2a1a3360079cd429
parent 00c1ce4fdab3f2618f8719225f46e13949389ac7
Author: Mikkel Oscar Lyderik <mikkeloscar@gmail.com>
Date:   Sun, 20 Mar 2016 12:41:26 +0100

Use correct type for keycode

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

diff --git a/sway/commands.c b/sway/commands.c @@ -316,7 +316,7 @@ static struct cmd_results *cmd_bindcode(int argc, char **argv) { continue; } // parse keycode - int keycode = (int)strtol(split->items[i], NULL, 10); + xkb_keycode_t keycode = (int)strtol(split->items[i], NULL, 10); 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);