From f1ba70ffa6f32bcdc5ab8f8c226a28c2c394d631 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Mon, 26 Jun 2023 18:33:42 -0400 Subject: wlr_output: Make wlr_output_update_{custom,}_mode private Backends should be using wlr_output_send_request_state to request modesets to the compositor. This will be inlined and removed next commit. --- include/wlr/interfaces/wlr_output.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index 42374328..2d8cd833 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -103,22 +103,6 @@ struct wlr_output_impl { void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend, const struct wlr_output_impl *impl, struct wl_display *display, const struct wlr_output_state *state); -/** - * Update the current output mode. - * - * The backend must call this function when the mode is updated to notify - * compositors about the change. - */ -void wlr_output_update_mode(struct wlr_output *output, - struct wlr_output_mode *mode); -/** - * Update the current output custom mode. - * - * The backend must call this function when the mode is updated to notify - * compositors about the change. - */ -void wlr_output_update_custom_mode(struct wlr_output *output, int32_t width, - int32_t height, int32_t refresh); /** * Update the current output status. * -- cgit v1.2.3