mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
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.
This commit is contained in:
parent
8f0d4c9332
commit
f1ba70ffa6
2 changed files with 12 additions and 28 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue