diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-16 14:18:13 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-16 14:18:13 +1000 |
commit | 09733e233feffe5ec088d10f4de03df8594ec68b (patch) | |
tree | 1b57c6edfc1a0da28f03088b1290c0e0e9bd9eb0 /include/sway/swaynag.h | |
parent | 9f985f1f1cabf65b1c8349d9320a3031f959ec5a (diff) |
Fix crash when unmapping last child of a tabbed workspace
* Create layout T[view view]
* Move the cursor into the title bar area
* Close both views
Sway would crash because container_at_tabbed would attempt to divide by
zero when there are no children.
The children check isn't needed for the stacked function because it
doesn't divide anything by the number of children.
Fixes #2636.
Diffstat (limited to 'include/sway/swaynag.h')
0 files changed, 0 insertions, 0 deletions