aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2023-10-06 00:14:32 +0200
committerSimon Ser <contact@emersion.fr>2023-10-09 08:31:35 +0000
commit2cf78f4c5bcfce88c7e485a92c1c4f9d70a636d7 (patch)
tree4e32e735db49f9f75140626751f63d32ed380777 /backend
parent291431c14f5e5c33c14a6fff4284c3de03ff292c (diff)
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
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
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,
};