From e8f9e9eea6ac64f294254063ce56e3f84301df76 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 28 Oct 2025 20:45:11 +0100 Subject: [PATCH] color_representation_v1: make supported_alpha_modes const --- include/wlr/types/wlr_color_representation_v1.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/wlr/types/wlr_color_representation_v1.h b/include/wlr/types/wlr_color_representation_v1.h index 0a1958dec..7a21babda 100644 --- a/include/wlr/types/wlr_color_representation_v1.h +++ b/include/wlr/types/wlr_color_representation_v1.h @@ -44,12 +44,10 @@ struct wlr_color_representation_manager_v1 { // Options used when initialising a wlr_color_representation_manager_v1 struct wlr_color_representation_v1_options { - enum wp_color_representation_surface_v1_alpha_mode - *supported_alpha_modes; + const enum wp_color_representation_surface_v1_alpha_mode *supported_alpha_modes; size_t supported_alpha_modes_len; - const struct wlr_color_representation_v1_coeffs_and_range - *supported_coeffs_and_ranges; + const struct wlr_color_representation_v1_coeffs_and_range *supported_coeffs_and_ranges; size_t supported_coeffs_and_ranges_len; };