]> git.sur5r.net Git - i3/i3/commit
Close empty workspaces if they're not visible.
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Sun, 23 Oct 2011 21:06:43 +0000 (19:06 -0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 23 Oct 2011 23:12:14 +0000 (00:12 +0100)
commitd490bae8a2b1eba5844b8a48740907ef4cedc4cb
tree892bcc802cfea7d260dc1000dc07dc1cf71ada53
parentf4469eee0b0988c082a5df580c24c15b5eed2c2e
Close empty workspaces if they're not visible.

Previously, we'd only close an empty workspace when we moved away
from it. Now we also close it when the last client exits, as long
as that workspace is not visible anymore.
src/con.c
testcases/t/178-regress-workspace-open.t [new file with mode: 0644]