aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorIlia Bozhinov <ammen99@gmail.com>2018-05-03 11:57:54 +0300
committerIlia Bozhinov <ammen99@gmail.com>2018-05-03 11:57:54 +0300
commit54bf3a36ca49e6210f3c011943531f34004a99e7 (patch)
tree3d372187486a94960c208efbbe28434fca877458 /rootston
parent8f5045c871c3060ff5f5f99ce1ada09f4b4cd105 (diff)
rootston: remove mode and transform signals when output is destroyed
Diffstat (limited to 'rootston')
-rw-r--r--rootston/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/output.c b/rootston/output.c
index 225b7213..d4c6d5a2 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -756,6 +756,8 @@ static void output_destroy(struct roots_output *output) {
wl_list_remove(&output->link);
wl_list_remove(&output->destroy.link);
+ wl_list_remove(&output->mode.link);
+ wl_list_remove(&output->transform.link);
wl_list_remove(&output->damage_frame.link);
wl_list_remove(&output->damage_destroy.link);
free(output);