mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-12 05:34:35 -04:00
backend/drm: drop wl_display argument
We can grab the event loop from the wlr_session instead.
This commit is contained in:
parent
b62ac611c8
commit
54f9944b48
7 changed files with 15 additions and 37 deletions
|
|
@ -1483,7 +1483,7 @@ static bool connect_drm_connector(struct wlr_drm_connector *wlr_conn,
|
|||
|
||||
free(current_modeinfo);
|
||||
|
||||
wlr_output_init(output, &drm->backend, &output_impl, wl_display_get_event_loop(drm->display), &state);
|
||||
wlr_output_init(output, &drm->backend, &output_impl, drm->session->event_loop, &state);
|
||||
wlr_output_state_finish(&state);
|
||||
|
||||
// fill out the modes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue