mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
output: Add initialization state to wlr_output_init
This commit is contained in:
parent
8f67446cc7
commit
6cda3e251c
6 changed files with 12 additions and 6 deletions
|
|
@ -121,7 +121,7 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *wlr_backend,
|
|||
}
|
||||
output->backend = backend;
|
||||
wlr_output_init(&output->wlr_output, &backend->backend, &output_impl,
|
||||
backend->display);
|
||||
backend->display, NULL);
|
||||
struct wlr_output *wlr_output = &output->wlr_output;
|
||||
|
||||
output_set_custom_mode(output, width, height, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue