aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/seat
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-10-18 13:13:40 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-10-18 13:42:01 -0400
commit2e637b7368de565a85f77fbd03408f33b763dd7b (patch)
tree00f3a082111e02dc2d7e7e54af60db4e58ebfc26 /sway/commands/seat
parentMerge pull request #2874 from ianyfan/swaybar (diff)
downloadsway-2e637b7368de565a85f77fbd03408f33b763dd7b.tar.gz
sway-2e637b7368de565a85f77fbd03408f33b763dd7b.tar.zst
sway-2e637b7368de565a85f77fbd03408f33b763dd7b.zip
cmd_bind{sym,code}: Implement per-device bindings
bindsym --input-device=<identifier> ... bindcode --input-device=<identifier> ...
Diffstat (limited to 'sway/commands/seat')
-rw-r--r--sway/commands/seat/cursor.c2
1 files changed, 1 insertions, 1 deletions
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,
80 return cmd_results_new(CMD_INVALID, "cursor", expected_syntax); 80 return cmd_results_new(CMD_INVALID, "cursor", expected_syntax);
81 } 81 }
82 } 82 }
83 dispatch_cursor_button(cursor, 0, button, state); 83 dispatch_cursor_button(cursor, NULL, 0, button, state);
84 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 84 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
85} 85}