Split image_surface handling into own function

This commit is contained in:
Brian Ashworth 2018-12-19 18:22:56 -05:00 committed by emersion
parent 5fca74a1f1
commit 3248c823ed
2 changed files with 44 additions and 14 deletions

View file

@ -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);