Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-init renderer for all outputs on lost context
sway_root.outputs only include enabled outputs. We also need to re-init the renderer for any disabled outputs, so use sway_root.all_outputs instead. Resolves the following heap-use-after-free accessing the render formats when a disabled output is modeset after a GPU reset has occurred.
- Loading branch information