From 9a5d59a8391c9e609285fb0c4985e12416075c0b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 15 Feb 2019 09:21:49 -0500 Subject: [PATCH] Revert "drm: do not modeset to current mode" This reverts commit 72c76b128e562c482868b42b1945ed49cbd44353. --- backend/drm/drm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 7713b5bb..65d83949 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -537,10 +537,6 @@ static bool drm_connector_set_mode(struct wlr_output *output, conn->desired_mode = mode; return false; } - if (conn->output.current_mode == mode) { - // Nothing to do - return true; - } wlr_log(WLR_INFO, "Modesetting '%s' with '%ux%u@%u mHz'", conn->output.name, mode->width, mode->height, mode->refresh);