output: introduce wlr_output_cursor_set_buffer

This will supersede wlr_output_cursor_set_image, and then later
also supersede wlr_output_cursor_set_surface.
This commit is contained in:
Simon Ser 2022-05-27 18:28:55 +02:00 committed by Isaac Freund
parent e3e2a34cd8
commit 459a642e83
2 changed files with 46 additions and 0 deletions

View file

@ -498,6 +498,8 @@ bool wlr_output_cursor_set_image(struct wlr_output_cursor *cursor,
int32_t hotspot_x, int32_t hotspot_y);
void wlr_output_cursor_set_surface(struct wlr_output_cursor *cursor,
struct wlr_surface *surface, int32_t hotspot_x, int32_t hotspot_y);
bool wlr_output_cursor_set_buffer(struct wlr_output_cursor *cursor,
struct wlr_buffer *buffer, int32_t hotspot_x, int32_t hotspot_y);
bool wlr_output_cursor_move(struct wlr_output_cursor *cursor,
double x, double y);
void wlr_output_cursor_destroy(struct wlr_output_cursor *cursor);