From 2e637b7368de565a85f77fbd03408f33b763dd7b Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Thu, 18 Oct 2018 13:13:40 -0400 Subject: cmd_bind{sym,code}: Implement per-device bindings bindsym --input-device= ... bindcode --input-device= ... --- sway/commands/seat/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/commands/seat') diff --git a/sway/commands/seat/cursor.c b/sway/commands/seat/cursor.c index cd6630e0..595e9bc6 100644 --- a/sway/commands/seat/cursor.c +++ b/sway/commands/seat/cursor.c @@ -80,6 +80,6 @@ static struct cmd_results *press_or_release(struct sway_cursor *cursor, return cmd_results_new(CMD_INVALID, "cursor", expected_syntax); } } - dispatch_cursor_button(cursor, 0, button, state); + dispatch_cursor_button(cursor, NULL, 0, button, state); return cmd_results_new(CMD_SUCCESS, NULL, NULL); } -- cgit v1.2.3