This commit is contained in:
Ricardo Steijn 2023-10-21 16:05:14 +02:00
parent aa22c33275
commit b9d479a7ed
3 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ static void handle_tearing_controller_set_hint(struct wl_listener *listener,
static void handle_tearing_controller_destroy(struct wl_listener *listener, static void handle_tearing_controller_destroy(struct wl_listener *listener,
void *data) { void *data) {
struct sway_tearing_controller *controller = struct sway_tearing_controller *controller =
wl_container_of(listener, controller, destroy); wl_container_of(listener, controller, destroy);
wl_list_remove(&controller->link); wl_list_remove(&controller->link);
free(controller); free(controller);