]> git.sur5r.net Git - i3/i3/commit
bugfix: forgot to mark split containers as split = true (+test) (Thanks szalik)
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 5 Sep 2012 20:03:45 +0000 (22:03 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 5 Sep 2012 20:26:52 +0000 (22:26 +0200)
commitd644dbff640bb27971bcdbd58fe0ae503e8ab6e4
tree3d7afabf61014166abc0c7d2de7b2dc3d79ddc9c
parenta598544b5ad21f8be2cf4940235c7dd360fb9772
bugfix: forgot to mark split containers as split = true (+test) (Thanks szalik)

When the workspace layout (formerly orientation) was forced to change
due to a move command, the split container we created was not marked as
split = true, which caused tree_flatten() to errnously kill the contents
of it and thus one window ended up unmanaged.

Also, the logic in tree_flatten() was inverted due to commit de94f6da.

fixes #790
src/tree.c
src/workspace.c
testcases/t/197-regression-move-vanish.t [new file with mode: 0644]