aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-01-13 20:40:42 -0500
committerLibravatar GitHub <noreply@github.com>2019-01-13 20:40:42 -0500
commit9f9ef761753e11235c85c232e7521506cfea512d (patch)
tree1f391e6a4a1d7d6d8eef0dc894d4c165ba7fbdbd /include
parentMerge pull request #3342 from RedSoxFan/scroll-buttons-improved (diff)
parentseat_cmd_cursor: utilize mouse button helpers (diff)
downloadsway-9f9ef761753e11235c85c232e7521506cfea512d.tar.gz
sway-9f9ef761753e11235c85c232e7521506cfea512d.tar.zst
sway-9f9ef761753e11235c85c232e7521506cfea512d.zip
Merge pull request #3343 from RedSoxFan/seat-cursor-buttons-improved
Improve mouse button parsing: seat cursor buttons
Diffstat (limited to 'include')
-rw-r--r--include/sway/input/cursor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 9f699dcd..77aa0ea1 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -80,6 +80,9 @@ void dispatch_cursor_button(struct sway_cursor *cursor,
80 struct wlr_input_device *device, uint32_t time_msec, uint32_t button, 80 struct wlr_input_device *device, uint32_t time_msec, uint32_t button,
81 enum wlr_button_state state); 81 enum wlr_button_state state);
82 82
83void dispatch_cursor_axis(struct sway_cursor *cursor,
84 struct wlr_event_pointer_axis *event);
85
83void cursor_set_image(struct sway_cursor *cursor, const char *image, 86void cursor_set_image(struct sway_cursor *cursor, const char *image,
84 struct wl_client *client); 87 struct wl_client *client);
85 88