swayfx/sway/tree
Ryan Dwyer 834805f5e2 Fix crash when disconnecting output
We were freeing the sway_output immediately upon disconnect which left
a dangling pointer in the output's container. It then tried to use the
pointer when the container is freed.

We don't need to store the sway_output in an output's container which is
destroying, so the fix is to set the pointer to NULL and remove the use
in container_free.

Also added an arrange when the output is disconnected for good measure.
2018-06-26 19:40:42 +10:00
..
arrange.c Implement atomic layout updates for tree operations 2018-06-23 16:24:11 +10:00
container.c Fix crash when disconnecting output 2018-06-26 19:40:42 +10:00
layout.c Implement atomic layout updates for tree operations 2018-06-23 16:24:11 +10:00
output.c Implement atomic layout updates for tree operations 2018-06-23 16:24:11 +10:00
view.c Rename view's free callback to destroy 2018-06-26 13:18:33 +10:00
workspace.c Implement atomic layout updates for tree operations 2018-06-23 16:24:11 +10:00