aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-12-19 18:22:56 -0500
committerLibravatar emersion <contact@emersion.fr>2018-12-25 13:31:56 +0100
commit3248c823ed1f3bc95b8401a32a2dc12144a88f7d (patch)
treee57f23bb5d371791e2b1b513f5246e7f3ddda3db /include/sway/input/cursor.h
parentImplement hide_cursor <timeout> command (diff)
downloadsway-3248c823ed1f3bc95b8401a32a2dc12144a88f7d.tar.gz
sway-3248c823ed1f3bc95b8401a32a2dc12144a88f7d.tar.zst
sway-3248c823ed1f3bc95b8401a32a2dc12144a88f7d.zip
Split image_surface handling into own function
Diffstat (limited to 'include/sway/input/cursor.h')
-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,
73void cursor_set_image(struct sway_cursor *cursor, const char *image, 73void cursor_set_image(struct sway_cursor *cursor, const char *image,
74 struct wl_client *client); 74 struct wl_client *client);
75 75
76void cursor_set_image_surface(struct sway_cursor *cursor,
77 struct wlr_surface *surface, int32_t hotspot_x, int32_t hotspot_y,
78 struct wl_client *client);
79
76void cursor_warp_to_container(struct sway_cursor *cursor, 80void cursor_warp_to_container(struct sway_cursor *cursor,
77 struct sway_container *container); 81 struct sway_container *container);
78 82