diff options
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 12aacd80..b4d25e1d 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -537,9 +537,7 @@ static bool drm_connector_commit(struct wlr_output *output) { } break; } - } - - if (output->pending.committed & WLR_OUTPUT_STATE_ENABLED) { + } else if (output->pending.committed & WLR_OUTPUT_STATE_ENABLED) { if (!enable_drm_connector(output, output->pending.enabled)) { return false; } |