From 61095f4a12461944a400094be6cfa677da7c9928 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 18 May 2020 12:19:53 +0200 Subject: backend/drm: make drm_connector_set_mode take a wlr_drm_connector Since this is an internal DRM backend function, there's no reason we need to take a generic wlr_output. --- 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 6ec7fd28..30bf41a6 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -151,7 +151,7 @@ void finish_drm_resources(struct wlr_drm_backend *drm); 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); -bool drm_connector_set_mode(struct wlr_output *output, +bool drm_connector_set_mode(struct wlr_drm_connector *conn, struct wlr_output_mode *mode); size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm, struct wlr_drm_crtc *crtc); -- cgit v1.2.3