mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
list.c: rename free_flat_list to list_free_items_and_destroy
This commit is contained in:
parent
c8776fac42
commit
98c1e19466
12 changed files with 20 additions and 20 deletions
|
|
@ -68,7 +68,7 @@ void container_destroy(struct sway_container *con) {
|
|||
list_free(con->current.children);
|
||||
list_free(con->outputs);
|
||||
|
||||
free_flat_list(con->marks);
|
||||
list_free_items_and_destroy(con->marks);
|
||||
wlr_texture_destroy(con->marks_focused);
|
||||
wlr_texture_destroy(con->marks_focused_inactive);
|
||||
wlr_texture_destroy(con->marks_unfocused);
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ void workspace_destroy(struct sway_workspace *workspace) {
|
|||
|
||||
free(workspace->name);
|
||||
free(workspace->representation);
|
||||
free_flat_list(workspace->output_priority);
|
||||
list_free_items_and_destroy(workspace->output_priority);
|
||||
list_free(workspace->floating);
|
||||
list_free(workspace->tiling);
|
||||
list_free(workspace->current.floating);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue