From 459a642e83349cc96b722450c391a13758eeb1a6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 27 May 2022 18:28:55 +0200 Subject: 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. --- include/wlr/types/wlr_output.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 68f85ebb..a6523d3d 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -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); -- cgit v1.2.3