mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
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.
This commit is contained in:
parent
c02e9c2bb1
commit
445750aa9a
3 changed files with 43 additions and 51 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue