From aa22c33275ca1887990baf182e984d2f748d7a09 Mon Sep 17 00:00:00 2001 From: Ricardo Steijn Date: Sat, 14 Oct 2023 18:46:12 +0200 Subject: [PATCH] sway/desktop/output.c: adjust to upstream tearing_control changes --- sway/desktop/tearing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/desktop/tearing.c b/sway/desktop/tearing.c index 28d83f047..7838d250f 100644 --- a/sway/desktop/tearing.c +++ b/sway/desktop/tearing.c @@ -26,8 +26,8 @@ static void handle_tearing_controller_set_hint(struct wl_listener *listener, static void handle_tearing_controller_destroy(struct wl_listener *listener, void *data) { struct sway_tearing_controller *controller = - wl_container_of(listener, controller, destroy); - wl_list_remove(&controller->link); + wl_container_of(listener, controller, destroy); + wl_list_remove(&controller->link); free(controller); }