diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-06 17:58:10 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-04-29 19:51:57 +0200 |
commit | a1e8a639b3626b474d49e7694bd0c9e3945adf0c (patch) | |
tree | e6c532e4e5a70db135ab7a619d844e81993dfc70 /include/backend/drm | |
parent | e543e2620684e41a7743586228c45b563939b689 (diff) |
backend/drm: introduce drm_connector_commit_state
Backend-initiated mode changes can use this function instead of
going through drm_connector_set_mode. drm_connector_set_mode becomes
a mere drm_connector_commit_state helper.
Diffstat (limited to 'include/backend/drm')
-rw-r--r-- | include/backend/drm/drm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 6201a328..13ccd672 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -143,7 +143,7 @@ void restore_drm_outputs(struct wlr_drm_backend *drm); void scan_drm_connectors(struct wlr_drm_backend *state); int handle_drm_event(int fd, uint32_t mask, void *data); void destroy_drm_connector(struct wlr_drm_connector *conn); -bool drm_connector_set_mode(struct wlr_drm_connector *conn, +bool drm_connector_commit_state(struct wlr_drm_connector *conn, const struct wlr_output_state *state); bool drm_connector_is_cursor_visible(struct wlr_drm_connector *conn); bool drm_connector_supports_vrr(struct wlr_drm_connector *conn); |