diff options
author | 2018-08-03 17:55:58 +1000 | |
---|---|---|
committer | 2018-08-03 17:55:58 +1000 | |
commit | 854c5fbec872ee093cc2728558f69f7f567f3136 (patch) | |
tree | 92072d967e15605859c723e9c43b1c8457137ccb /swaymsg/swaymsg.1.scd | |
parent | Merge pull request #2408 from ianyfan/exit-nag (diff) | |
download | sway-854c5fbec872ee093cc2728558f69f7f567f3136.tar.gz sway-854c5fbec872ee093cc2728558f69f7f567f3136.tar.zst sway-854c5fbec872ee093cc2728558f69f7f567f3136.zip |
Fix crash when fullscreen view closes on inactive workspace
When a view unmaps, normally the surviving ancestor (ie. after reaping)
needs to be arranged. When a fullscreen view unmaps, it arranges the
workspace rather than the surviving ancestor, but didn't handle cases
where the workspace itself was reaped. This happens if the workspace is
not currently shown and the fullscreen view was the last container on
that workspace.
This commit rewrites this part of view_unmap so it's more readable, and
fixes the crash by not arranging the workspace if it's been reaped. Note
that it no longer arranges the output under any circumstance - this
wasn't required anyway.
Diffstat (limited to 'swaymsg/swaymsg.1.scd')
0 files changed, 0 insertions, 0 deletions