mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-07 13:29:49 -05:00
Add new output cursor API
This commit is contained in:
parent
b2d717dccc
commit
f5e5b3eec3
3 changed files with 147 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue