aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandom human <random.bored.human@gmail.com>2018-09-03 05:05:18 +0530
committerrandom human <random.bored.human@gmail.com>2018-09-03 05:05:18 +0530
commit9f511ae942b27c0012cfa39d9950326d7e79f120 (patch)
treee76bbfe82f4ea3ff5e63d5274bf31152440d3165
parent6af77e3d9eee492c80830f197354fdd676873469 (diff)
Remove listener link after tablet_manager destroy
-rw-r--r--types/tablet_v2/wlr_tablet_v2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types/tablet_v2/wlr_tablet_v2.c b/types/tablet_v2/wlr_tablet_v2.c
index e53b8051..eabf5119 100644
--- a/types/tablet_v2/wlr_tablet_v2.c
+++ b/types/tablet_v2/wlr_tablet_v2.c
@@ -283,6 +283,7 @@ void wlr_tablet_v2_destroy(struct wlr_tablet_manager_v2 *manager) {
}
wlr_signal_emit_safe(&manager->events.destroy, manager);
+ wl_list_remove(&manager->display_destroy.link);
wl_global_destroy(manager->wl_global);
free(manager);
}