Add new output cursor API

This commit is contained in:
Scott Anderson 2019-09-15 20:05:37 +12:00
parent b2d717dccc
commit f5e5b3eec3
3 changed files with 147 additions and 7 deletions

View file

@ -25,6 +25,9 @@ struct wlr_output_impl {
bool (*move_cursor)(struct wlr_output *output, int x, int y);
void (*destroy)(struct wlr_output *output);
bool (*attach_render)(struct wlr_output *output, int *buffer_age);
bool (*cursor_try_set_size)(struct wlr_output *output, int *x, int *y);
bool (*cursor_attach_render)(struct wlr_output *output, int *buffer_age);
bool (*cursor_commit)(struct wlr_output *output);
bool (*commit)(struct wlr_output *output);
bool (*set_gamma)(struct wlr_output *output, size_t size,
const uint16_t *r, const uint16_t *g, const uint16_t *b);