]> git.sur5r.net Git - i3/i3/commit
Bugfix: Don’t run into an endless loop when killing con with children (Thanks mseed)
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 11 May 2011 18:22:47 +0000 (20:22 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 11 May 2011 18:22:47 +0000 (20:22 +0200)
commiteb8ad348b28e243cba1972e802ca8ee636472fc9
tree2997580f4d75c228ad05ae40410f1d5362095de7
parent7e587f3570690f5e1a12017965ac23fc866c2663
Bugfix: Don’t run into an endless loop when killing con with children (Thanks mseed)

When a tabbed container had more than one child and at least the first one
supported WM_DELETE, i3 entered an endless loop when killing that tabbed
container. This was due to tree_close only sending WM_DELETE without actually
removing the child, while the loop in tree_close assumed that with every call
of tree_close one child would be removed.
include/tree.h
src/tree.c