aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-04-06 16:43:48 +0200
committerKenny Levinsen <kl@kl.wtf>2021-04-29 19:51:57 +0200
commit1a9701cd7c5bc20055b0efef3b84c923d2735beb (patch)
treece9e293e8d1410988c1b1ffbef999945705e662c /include/backend/drm
parent8f90d7f8f51f5d501e3f70ebdab8abfdbfa007b9 (diff)
backend/drm: take wlr_output_state as arg in commit callers
Instead of relying on wlr_output.pending to be empty when performing backend-initiated CRTC commits, use a zero wlr_output_state.
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 8604f0b3..bc33e5c1 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -152,7 +152,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,
- struct wlr_output_mode *mode);
+ const struct wlr_output_state *state, struct wlr_output_mode *mode);
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,