diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/types/wlr_output.h | 4 | ||||
-rw-r--r-- | include/wlr/types/wlr_output.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/types/wlr_output.h b/include/types/wlr_output.h index 5f75eb60..5c1d8fab 100644 --- a/include/types/wlr_output.h +++ b/include/types/wlr_output.h @@ -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 diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index dbf7524a..88dbffb9 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -44,6 +44,7 @@ struct wlr_output_cursor { // only when using a software cursor without a surface struct wlr_texture *texture; + bool own_texture; // only when using a cursor surface struct wlr_surface *surface; |