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
|
|
@ -101,7 +101,7 @@ 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_event_loop *event_loop,
|
||||
const struct wlr_output_state *state);
|
||||
/**
|
||||
* Notify compositors that they need to submit a new frame in order to apply
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ struct wlr_render_pass;
|
|||
struct wlr_output {
|
||||
const struct wlr_output_impl *impl;
|
||||
struct wlr_backend *backend;
|
||||
struct wl_display *display;
|
||||
struct wl_event_loop *event_loop;
|
||||
|
||||
struct wl_global *global;
|
||||
struct wl_list resources;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue