mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-25 21:58:31 +01:00
parent
3e956b9229
commit
32e5e5232d
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ 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->set_hint.link);
|
||||||
|
wl_list_remove(&controller->destroy.link);
|
||||||
wl_list_remove(&controller->link);
|
wl_list_remove(&controller->link);
|
||||||
free(controller);
|
free(controller);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue