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 --- backend/drm/drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 80d62fa8..3db27749 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -452,7 +452,7 @@ static void drm_connector_state_init(struct wlr_drm_connector_state *state, const struct wlr_output_state *base) { *state = (struct wlr_drm_connector_state){ .base = base, - .modeset = base->allow_artifacts, + .modeset = base->allow_reconfiguration, .active = (base->committed & WLR_OUTPUT_STATE_ENABLED) ? base->enabled : conn->output.enabled, }; -- cgit v1.2.3