swayfx/sway/tree
Ryan Dwyer 09733e233f 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.
2018-09-16 14:18:13 +10:00
..
arrange.c Adjust container box 2018-09-06 09:13:36 +10:00
container.c Fix crash when unmapping last child of a tabbed workspace 2018-09-16 14:18:13 +10:00
node.c ipc: handle NULL cases for node_get_output 2018-09-15 09:42:49 +01:00
output.c Introduce seat_set_focus_container and seat_set_focus_workspace 2018-09-06 19:26:56 +10:00
root.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
view.c Remove redundant container creation in view initialization 2018-09-15 01:24:10 +01:00
workspace.c Fix crash in workspace_wrap_children 2018-09-11 23:38:17 +10:00