diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-18 12:16:30 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-26 23:34:37 +0200 |
commit | 445750aa9a5b6d1e9e275fa9a533cee0e502febb (patch) | |
tree | 6e953825befc3edfbf78c26add96353516304bbd /backend/drm/backend.c | |
parent | c02e9c2bb18a42b0f6917a9b4bfabf4d7e4e36f7 (diff) |
backend/drm: remove enable_drm_connector
Merge enable_drm_connector into drm_connector_set_mode. This allows us
to de-duplicate logic since enabling an output performs a modeset.
Diffstat (limited to 'backend/drm/backend.c')
-rw-r--r-- | backend/drm/backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 452d91c5..2a42ee73 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -97,7 +97,7 @@ static void session_signal(struct wl_listener *listener, void *data) { drm_connector_set_mode(&conn->output, conn->output.current_mode); } else { - enable_drm_connector(&conn->output, false); + drm_connector_set_mode(&conn->output, NULL); } } } else { |