diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-10-18 13:13:40 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-10-18 13:42:01 -0400 |
commit | 2e637b7368de565a85f77fbd03408f33b763dd7b (patch) | |
tree | 00f3a082111e02dc2d7e7e54af60db4e58ebfc26 /include/sway/input/cursor.h | |
parent | Merge pull request #2874 from ianyfan/swaybar (diff) | |
download | sway-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 'include/sway/input/cursor.h')
-rw-r--r-- | include/sway/input/cursor.h | 5 |
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); | |||
42 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); | 42 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); |
43 | void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, | 43 | void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, |
44 | bool allow_refocusing); | 44 | bool allow_refocusing); |
45 | void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec, | 45 | void dispatch_cursor_button(struct sway_cursor *cursor, |
46 | uint32_t button, enum wlr_button_state state); | 46 | struct wlr_input_device *device, uint32_t time_msec, uint32_t button, |
47 | enum wlr_button_state state); | ||
47 | 48 | ||
48 | void cursor_set_image(struct sway_cursor *cursor, const char *image, | 49 | void cursor_set_image(struct sway_cursor *cursor, const char *image, |
49 | struct wl_client *client); | 50 | struct wl_client *client); |