mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-05 13:29:47 -05:00
remove display destroy when output is destroyed
This commit is contained in:
parent
c838679393
commit
c59210ad17
1 changed files with 2 additions and 0 deletions
|
|
@ -301,6 +301,8 @@ void wlr_output_destroy(struct wlr_output *output) {
|
||||||
} else {
|
} else {
|
||||||
free(output);
|
free(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wl_list_remove(&output->display_destroy.link);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wlr_output_effective_resolution(struct wlr_output *output,
|
void wlr_output_effective_resolution(struct wlr_output *output,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue