mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
fix layout hotplugging issue in output-layout.c
This commit is contained in:
parent
f25511ee3d
commit
fa3d4ecc84
2 changed files with 15 additions and 10 deletions
|
|
@ -29,6 +29,7 @@ struct wlr_output_layout *wlr_output_layout_init() {
|
|||
|
||||
static void wlr_output_layout_output_destroy(
|
||||
struct wlr_output_layout_output *l_output) {
|
||||
wl_list_remove(&l_output->state->resolution.link);
|
||||
wl_list_remove(&l_output->link);
|
||||
free(l_output->state->_box);
|
||||
free(l_output->state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue