I've got the following SIGSEGV when terminating sway:
```
Program terminated with signal SIGSEGV, Segmentation fault.
0x00005607dc603af5 in view_unmap (view=0x5607dcb3d350) at ../sway/tree/view.c:599
599 if (surviving_ancestor->type >= C_WORKSPACE) {
```
surviving_ancestor was NULL at that time
This commit is trying to fix this problem.
|
||
|---|---|---|
| .. | ||
| arrange.c | ||
| container.c | ||
| layout.c | ||
| output.c | ||
| root.c | ||
| view.c | ||
| workspace.c | ||