mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
output: take wl_event_loop in wlr_output_init()
We don't need the whole wl_display here anymore. The wl_event_loop is enough.
This commit is contained in:
parent
d23d8ed3ba
commit
d61ec694b3
8 changed files with 17 additions and 18 deletions
|
|
@ -775,7 +775,7 @@ static struct wlr_wl_output *output_create(struct wlr_wl_backend *backend,
|
|||
wlr_output_state_set_custom_mode(&state, 1280, 720, 0);
|
||||
|
||||
wlr_output_init(wlr_output, &backend->backend, &output_impl,
|
||||
backend->local_display, &state);
|
||||
wl_display_get_event_loop(backend->local_display), &state);
|
||||
wlr_output_state_finish(&state);
|
||||
|
||||
wlr_output->adaptive_sync_status = WLR_OUTPUT_ADAPTIVE_SYNC_ENABLED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue