diff --git a/sway/commands/bind.c b/sway/commands/bind.c index 26c99e635..c0b383db3 100644 --- a/sway/commands/bind.c +++ b/sway/commands/bind.c @@ -372,6 +372,7 @@ static struct cmd_results *cmd_bindsym_or_bindcode(int argc, char **argv, strlen("--input-device=")) == 0) { free(binding->input); binding->input = strdup(argv[0] + strlen("--input-device=")); + strip_quotes(binding->input); } else if (strcmp("--no-warn", argv[0]) == 0) { warn = false; } else if (strcmp("--no-repeat", argv[0]) == 0) {