diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-12-09 01:15:23 +0000 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-12-09 01:15:38 +0000 |
commit | 98c1e19466c0d83c8e1ca86eda5b273eda7eff3c (patch) | |
tree | b47ccc174669786e3a1df9569046886c23003a45 /sway/tree/container.c | |
parent | Cleanup list code (diff) | |
download | sway-98c1e19466c0d83c8e1ca86eda5b273eda7eff3c.tar.gz sway-98c1e19466c0d83c8e1ca86eda5b273eda7eff3c.tar.zst sway-98c1e19466c0d83c8e1ca86eda5b273eda7eff3c.zip |
list.c: rename free_flat_list to list_free_items_and_destroy
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index ac433577..b106e0d9 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -68,7 +68,7 @@ void container_destroy(struct sway_container *con) { | |||
68 | list_free(con->current.children); | 68 | list_free(con->current.children); |
69 | list_free(con->outputs); | 69 | list_free(con->outputs); |
70 | 70 | ||
71 | free_flat_list(con->marks); | 71 | list_free_items_and_destroy(con->marks); |
72 | wlr_texture_destroy(con->marks_focused); | 72 | wlr_texture_destroy(con->marks_focused); |
73 | wlr_texture_destroy(con->marks_focused_inactive); | 73 | wlr_texture_destroy(con->marks_focused_inactive); |
74 | wlr_texture_destroy(con->marks_unfocused); | 74 | wlr_texture_destroy(con->marks_unfocused); |