From d933f5204b4723eeb64b3c734d4017067f11811b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 27 May 2022 18:47:39 +0200 Subject: output: drop wlr_output_cursor_set_surface --- include/wlr/types/wlr_output.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 88dbffb9..f56bd1eb 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -40,16 +40,9 @@ struct wlr_output_cursor { bool visible; uint32_t width, height; int32_t hotspot_x, hotspot_y; - struct wl_list link; - - // only when using a software cursor without a surface struct wlr_texture *texture; bool own_texture; - - // only when using a cursor surface - struct wlr_surface *surface; - struct wl_listener surface_commit; - struct wl_listener surface_destroy; + struct wl_list link; }; enum wlr_output_adaptive_sync_status { @@ -550,8 +543,6 @@ struct wlr_output_cursor *wlr_output_cursor_create(struct wlr_output *output); bool wlr_output_cursor_set_image(struct wlr_output_cursor *cursor, const uint8_t *pixels, int32_t stride, uint32_t width, uint32_t height, 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, -- cgit v1.2.3