From 3248c823ed1f3bc95b8401a32a2dc12144a88f7d Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Wed, 19 Dec 2018 18:22:56 -0500 Subject: Split image_surface handling into own function --- include/sway/input/cursor.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sway') diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 8677f1b1..21a26f68 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h @@ -73,6 +73,10 @@ void dispatch_cursor_button(struct sway_cursor *cursor, void cursor_set_image(struct sway_cursor *cursor, const char *image, struct wl_client *client); +void cursor_set_image_surface(struct sway_cursor *cursor, + struct wlr_surface *surface, int32_t hotspot_x, int32_t hotspot_y, + struct wl_client *client); + void cursor_warp_to_container(struct sway_cursor *cursor, struct sway_container *container); -- cgit v1.2.3