aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-19 14:00:03 +0200
committerGitHub <noreply@github.com>2018-10-19 14:00:03 +0200
commit96e3686ae882818edc35a14c207dfd97c40366d9 (patch)
tree2b898904e8c1e43417bfa92568bff23545ff642d /include/sway/input/cursor.h
parent19adc3ff2dc262ade0bc1a87895e49696224d5d0 (diff)
parent2e637b7368de565a85f77fbd03408f33b763dd7b (diff)
Merge pull request #2875 from RedSoxFan/input-device-bindings
cmd_bind{sym,code}: Implement per-device bindings
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 5556ea11..299721f0 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -42,8 +42,9 @@ void sway_cursor_destroy(struct sway_cursor *cursor);
struct sway_cursor *sway_cursor_create(struct sway_seat *seat);
void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec,
bool allow_refocusing);
-void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec,
- uint32_t button, enum wlr_button_state state);
+void dispatch_cursor_button(struct sway_cursor *cursor,
+ struct wlr_input_device *device, uint32_t time_msec, uint32_t button,
+ enum wlr_button_state state);
void cursor_set_image(struct sway_cursor *cursor, const char *image,
struct wl_client *client);