aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-23 20:10:44 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-07-02 22:42:37 +0000
commit0fc532f8de498964431f054f4cc4b5329189fc81 (patch)
treed254bcc0f33c9a60043e31d8e566a30292977017 /include/wlr
parent18bafbfc57039e16d1dabd78b882b3d6477f76b5 (diff)
cursor: remove wlr_cursor_set_image()
Superseded by wlr_cursor_set_buffer().
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_cursor.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/wlr/types/wlr_cursor.h b/include/wlr/types/wlr_cursor.h
index 96059255..004be0f1 100644
--- a/include/wlr/types/wlr_cursor.h
+++ b/include/wlr/types/wlr_cursor.h
@@ -137,17 +137,6 @@ void wlr_cursor_move(struct wlr_cursor *cur, struct wlr_input_device *dev,
double delta_x, double delta_y);
/**
- * Set the cursor image. stride is given in bytes. If pixels is NULL, hides the
- * cursor.
- *
- * If scale isn't zero, the image is only set on outputs having the provided
- * scale.
- */
-void wlr_cursor_set_image(struct wlr_cursor *cur, const uint8_t *pixels,
- int32_t stride, uint32_t width, uint32_t height, int32_t hotspot_x,
- int32_t hotspot_y, float scale);
-
-/**
* Set the cursor buffer.
*
* The buffer is used on all outputs and is scaled accordingly. The hotspot is