From ef5e2cc5e3db6243c5201734e8086a56182089b9 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 15 Nov 2022 16:50:05 +0100 Subject: output: call wlr_output_update_enabled() after commit Backends no longer need to manually call wlr_output_update_enabled() in their commit hook: wlr_output will take care of that. --- backend/drm/drm.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'backend/drm') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index a7ff585e..2a89e6f9 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -595,9 +595,6 @@ bool drm_connector_commit_state(struct wlr_drm_connector *conn, return false; } - if (pending.base->committed & WLR_OUTPUT_STATE_ENABLED) { - wlr_output_update_enabled(&conn->output, pending.active); - } if (pending.base->committed & WLR_OUTPUT_STATE_MODE) { struct wlr_output_mode *mode = NULL; switch (pending.base->mode_type) { -- cgit v1.2.3