From 2cf78f4c5bcfce88c7e485a92c1c4f9d70a636d7 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Fri, 6 Oct 2023 00:14:32 +0200 Subject: output: allow_artifacts -> allow_reconfiguration The name "allow_artifacts" and associated description is very vague, and theoretically allow for tearing behavior. Clarify that we only intend to mean artifacts related to output configuration (e.g., modesets). References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3740 --- include/wlr/types/wlr_output.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 7b57042c..28a5ebcb 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -77,9 +77,9 @@ enum wlr_output_state_mode_type { */ struct wlr_output_state { uint32_t committed; // enum wlr_output_state_field - // Set to true to allow temporary visual artifacts (e.g. black screen) while - // the update is being applied - bool allow_artifacts; + // Set to true to allow output reconfiguration to occur which may result + // in temporary output disruptions and content misrepresentations. + bool allow_reconfiguration; pixman_region32_t damage; // output-buffer-local coordinates bool enabled; float scale; -- cgit v1.2.3