aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-13 20:40:42 -0500
committerGitHub <noreply@github.com>2019-01-13 20:40:42 -0500
commit9f9ef761753e11235c85c232e7521506cfea512d (patch)
tree1f391e6a4a1d7d6d8eef0dc894d4c165ba7fbdbd /include/sway/input
parentdb1631b67dd463f6516275ac4387712e39f9a384 (diff)
parentaa1c838f9733f9b5e90e8267a10e455790cd2642 (diff)
Merge pull request #3343 from RedSoxFan/seat-cursor-buttons-improved
Improve mouse button parsing: seat cursor buttons
Diffstat (limited to 'include/sway/input')
-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,
struct wlr_input_device *device, uint32_t time_msec, uint32_t button,
enum wlr_button_state state);
+void dispatch_cursor_axis(struct sway_cursor *cursor,
+ struct wlr_event_pointer_axis *event);
+
void cursor_set_image(struct sway_cursor *cursor, const char *image,
struct wl_client *client);