diff options
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 34364917..c1390016 100644 --- 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); | 
