diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_output.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 3ca8863a..a38a431a 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -580,6 +580,13 @@ bool wlr_output_state_set_gamma_lut(struct wlr_output_state *state, */ void wlr_output_state_set_damage(struct wlr_output_state *state, const pixman_region32_t *damage); +/** + * Set the state's layers. + * + * The array must be kept valid by the caller until wlr_output_state_finish(). + */ +void wlr_output_state_set_layers(struct wlr_output_state *state, + struct wlr_output_layer_state *layers, size_t layers_len); /** |