diff options
author | Simon Ser <contact@emersion.fr> | 2023-08-12 08:37:08 +0200 |
---|---|---|
committer | Isaac Freund <mail@isaacfreund.com> | 2023-11-23 11:39:25 +0000 |
commit | d61ec694b352c0f21c06958c5ef0417f3e424e3c (patch) | |
tree | ac9c486568c87c79a076ec2abdc69e8c6f4b4893 /include | |
parent | d23d8ed3ba4d56d3dc33a4ccc77c16b68f716f2d (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_output.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index a5131297..b5123475 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -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 diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index e81ba02e..c607ec38 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -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; |