Split image_surface handling into own function

This commit is contained in:
Brian Ashworth 2018-12-19 18:22:56 -05:00
parent b726b48792
commit ea84117a46
2 changed files with 44 additions and 14 deletions

View file

@ -68,6 +68,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);