Merge pull request #939 from ammen99/master

rootston: remove mode and transform signals when output is destroyed
This commit is contained in:
emersion 2018-05-03 10:17:05 +01:00 committed by GitHub
commit 9a83e8131a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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);