sway/desktop/output.c: adjust to upstream tearing_control changes

This commit is contained in:
Ricardo Steijn 2023-10-14 18:46:12 +02:00
parent 85c2167063
commit aa22c33275

View file

@ -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);
}