diff options
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 0c491973..480b18b6 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -479,6 +479,12 @@ static bool drm_connector_test(struct wlr_output *output) { return true; } + if (!conn->crtc) { + // If the output is disabled, we don't have a crtc even after + // reallocation + return true; + } + if (output->pending.committed & WLR_OUTPUT_STATE_BUFFER) { if (!drm_connector_set_pending_fb(conn, &output->pending)) { return false; |