mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 15:31:28 +00:00
parent
3e956b9229
commit
32e5e5232d
|
@ -29,6 +29,8 @@ 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->set_hint.link);
|
||||
wl_list_remove(&controller->destroy.link);
|
||||
wl_list_remove(&controller->link);
|
||||
free(controller);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue