mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Split image_surface handling into own function
This commit is contained in:
parent
5fca74a1f1
commit
3248c823ed
2 changed files with 44 additions and 14 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue