aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-27 18:47:39 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-05-06 13:59:05 -0400
commitd933f5204b4723eeb64b3c734d4017067f11811b (patch)
treec5a27c173f24c5ca27dccb73930b66a2632616c3 /include
parent78afce5e2db7be1398f2b3e9feb3a28eab98663f (diff)
output: drop wlr_output_cursor_set_surface
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_output.h11
1 files changed, 1 insertions, 10 deletions
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,