aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-12-19 18:22:56 -0500
committeremersion <contact@emersion.fr>2018-12-25 13:31:56 +0100
commit3248c823ed1f3bc95b8401a32a2dc12144a88f7d (patch)
treee57f23bb5d371791e2b1b513f5246e7f3ddda3db /include/sway
parent5fca74a1f1704281e86114b567707486875c4e05 (diff)
Split image_surface handling into own function
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/input/cursor.h4
1 files changed, 4 insertions, 0 deletions
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);