aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/drm/drm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 2a89e6f9..a460fad5 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -1099,12 +1099,6 @@ static void realloc_crtcs(struct wlr_drm_backend *drm,
}
conn->crtc = &drm->crtcs[connector_match[i]];
-
- // Only realloc buffers if we have actually been modeset
- if (conn->status != DRM_MODE_CONNECTED || !conn->output.enabled) {
- continue;
- }
- wlr_output_damage_whole(&conn->output);
}
}