aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/seat/cursor.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-10-19 14:00:03 +0200
committerLibravatar GitHub <noreply@github.com>2018-10-19 14:00:03 +0200
commit96e3686ae882818edc35a14c207dfd97c40366d9 (patch)
tree2b898904e8c1e43417bfa92568bff23545ff642d /sway/commands/seat/cursor.c
parentMerge pull request #2877 from RyanDwyer/warp-on-workspace-switch (diff)
parentcmd_bind{sym,code}: Implement per-device bindings (diff)
downloadsway-96e3686ae882818edc35a14c207dfd97c40366d9.tar.gz
sway-96e3686ae882818edc35a14c207dfd97c40366d9.tar.zst
sway-96e3686ae882818edc35a14c207dfd97c40366d9.zip
Merge pull request #2875 from RedSoxFan/input-device-bindings
cmd_bind{sym,code}: Implement per-device bindings
Diffstat (limited to 'sway/commands/seat/cursor.c')
-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}