output: add output_cursor_set_texture()

This commit is contained in:
Simon Ser 2023-04-11 17:38:19 +02:00 committed by Alexander Orzechowski
parent b03f71fe5f
commit b64e7e88bf
3 changed files with 35 additions and 16 deletions

View file

@ -13,4 +13,8 @@ void output_clear_back_buffer(struct wlr_output *output);
bool output_ensure_buffer(struct wlr_output *output,
const struct wlr_output_state *state, bool *new_back_buffer);
bool output_cursor_set_texture(struct wlr_output_cursor *cursor,
struct wlr_texture *texture, bool own_texture, float scale,
enum wl_output_transform transform, int32_t hotspot_x, int32_t hotspot_y);
#endif