aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-07-03 09:46:54 +0200
committerSimon Ser <contact@emersion.fr>2023-07-03 09:46:54 +0200
commit6f8287128b7bd07b82377df4dcd88a6737e84be2 (patch)
treec05592e913e8d77ee3c45005d3a65f62d7d4af6b /include/wlr
parentf8d70fbeced77812e80176230b8fcbfcd9976653 (diff)
output: drop wlr_output_cursor_set_image()
This function takes a pointer to memory with a hardcoded format and many parameters to describe the pixel buffer. wlr_output_cursor_set_buffer() can be used instead.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index aa3d7a18..f3ed7c10 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -551,12 +551,6 @@ bool wlr_output_is_direct_scanout_allowed(struct wlr_output *output);
struct wlr_output_cursor *wlr_output_cursor_create(struct wlr_output *output);
-/**
- * Sets the cursor image. The image must be already scaled for the 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);
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,