sway

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

commit ed775103c8bc68db8423eeac179492aeb6bcdedb
parent 095ca7576918f3ad46113529ff9369a5be9ae70c
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 28 Aug 2018 21:00:56 -0400

Merge pull request #2535 from RyanDwyer/fix-reap-crash

Fix crash when reaping a workspace
Diffstat:
Msway/tree/container.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/sway/tree/container.c b/sway/tree/container.c @@ -173,6 +173,9 @@ struct sway_container *container_reap_empty(struct sway_container *con) { } if (con && con->type == C_WORKSPACE) { workspace_consider_destroy(con); + if (con->destroying) { + con = con->parent; + } } return con; }