aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-13 10:44:26 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-06-13 12:02:49 +0000
commit670915eeeaa2faee95cb3c32c64199da4379adf8 (patch)
treea7e66fee3447da091489c49ddb08fda8c488b356 /include
parent73ca1ea48a208a1ef9b21ffe9f721a4289deb15c (diff)
output: add wlr_output_state_set_layers()
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_output.h7
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);
/**