834805f5e2
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. |
||
---|---|---|
.. | ||
arrange.c | ||
container.c | ||
layout.c | ||
output.c | ||
view.c | ||
workspace.c |