mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05: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
|
|
@ -1467,7 +1467,7 @@ static bool connect_drm_connector(struct wlr_drm_connector *wlr_conn,
|
|||
|
||||
free(current_modeinfo);
|
||||
|
||||
wlr_output_init(output, &drm->backend, &output_impl, drm->display, &state);
|
||||
wlr_output_init(output, &drm->backend, &output_impl, wl_display_get_event_loop(drm->display), &state);
|
||||
wlr_output_state_finish(&state);
|
||||
|
||||
// fill out the modes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue