diff options
author | Simon Ser <contact@emersion.fr> | 2022-05-27 18:28:55 +0200 |
---|---|---|
committer | Isaac Freund <mail@isaacfreund.com> | 2022-05-31 11:40:47 +0000 |
commit | 459a642e83349cc96b722450c391a13758eeb1a6 (patch) | |
tree | ece6e2c6aab804ef05a5018088c0d54a72ecc962 /include/wlr | |
parent | e3e2a34cd82c7a45ee174df6e64c2261883ccc20 (diff) |
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.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_output.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |