From 218955ce959e92a3c4be27340d8033c2b6710972 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 6 Apr 2021 17:44:31 +0200 Subject: backend/drm: remove mode arg from drm_connector_set_mode All of the information is in wlr_output_state. --- include/backend/drm/drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/backend') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 4715cbf7..6201a328 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -144,7 +144,7 @@ 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, - const struct wlr_output_state *state, struct wlr_output_mode *mode); + 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); size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm, -- cgit v1.2.3