diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-12-19 18:22:56 -0500 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-12-25 13:31:56 +0100 |
commit | 3248c823ed1f3bc95b8401a32a2dc12144a88f7d (patch) | |
tree | e57f23bb5d371791e2b1b513f5246e7f3ddda3db /include/sway/input/cursor.h | |
parent | Implement hide_cursor <timeout> command (diff) | |
download | sway-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.h | 4 |
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, | |||
73 | void cursor_set_image(struct sway_cursor *cursor, const char *image, | 73 | void cursor_set_image(struct sway_cursor *cursor, const char *image, |
74 | struct wl_client *client); | 74 | struct wl_client *client); |
75 | 75 | ||
76 | void 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 | |||
76 | void cursor_warp_to_container(struct sway_cursor *cursor, | 80 | void cursor_warp_to_container(struct sway_cursor *cursor, |
77 | struct sway_container *container); | 81 | struct sway_container *container); |
78 | 82 | ||