sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 27e394f8b07fed21f791f2a06b93c3bfc0f991b7
parent eda425fdabb4050eb2ecc8741793d83e3a7bf154
Author: Tony Crisci <tony@dubstepdish.com>
Date:   Sat, 31 Mar 2018 19:45:30 -0400

fix children list segfault

Diffstat:
Msway/tree/container.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/tree/container.c b/sway/tree/container.c @@ -71,8 +71,8 @@ static struct sway_container *_container_destroy(struct sway_container *cont) { // container_remove_child, which removes child from this container while (cont->children != NULL && cont->children->length != 0) { struct sway_container *child = cont->children->items[0]; - container_remove_child(child); container_destroy(child); + list_del(cont->children, 0); } } if (cont->marks) {