backend-wayland: use to_wayland_backend

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
Philipp Zabel 2023-06-21 10:49:52 +02:00 committed by Daniel Stone
parent 6d699c3f54
commit fcde7fae66

View file

@ -2750,7 +2750,7 @@ wayland_shutdown(struct weston_backend *backend)
static void
wayland_destroy(struct weston_backend *backend)
{
struct wayland_backend *b = container_of(backend, struct wayland_backend, base);
struct wayland_backend *b = to_wayland_backend(backend);
struct weston_compositor *ec = b->compositor;
struct weston_head *base, *next;
struct wayland_parent_output *output, *next_output;