aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-02-15 09:21:49 -0500
committerBrian Ashworth <bosrsf04@gmail.com>2019-02-15 09:44:42 -0500
commit9a5d59a8391c9e609285fb0c4985e12416075c0b (patch)
tree4e3e58b8ae08a3cc49d2603d7c168b4ff1592fcf /backend
parent8b203c28f81f5f1f2c02042df72277e22e645372 (diff)
Revert "drm: do not modeset to current mode"
This reverts commit 72c76b128e562c482868b42b1945ed49cbd44353.
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c4
1 files changed, 0 insertions, 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);