aboutsummaryrefslogtreecommitdiff
path: root/rootston/output.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-03 10:17:05 +0100
committerGitHub <noreply@github.com>2018-05-03 10:17:05 +0100
commit9a83e8131a0e978c6f8e2e74ecac152042b0f213 (patch)
tree3d372187486a94960c208efbbe28434fca877458 /rootston/output.c
parent8f5045c871c3060ff5f5f99ce1ada09f4b4cd105 (diff)
parent54bf3a36ca49e6210f3c011943531f34004a99e7 (diff)
Merge pull request #939 from ammen99/master
rootston: remove mode and transform signals when output is destroyed
Diffstat (limited to 'rootston/output.c')
-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);