output: Add initialization state to wlr_output_init

This commit is contained in:
Alexander Orzechowski 2023-08-16 11:35:28 -04:00
parent 8f67446cc7
commit 6cda3e251c
6 changed files with 12 additions and 6 deletions

View file

@ -101,7 +101,8 @@ struct wlr_output_impl {
* Initialize a new output.
*/
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_impl *impl, struct wl_display *display,
const struct wlr_output_state *state);
/**
* Update the current output mode.
*