diff options
| author | Kenny Levinsen <kl@kl.wtf> | 2024-10-02 15:55:17 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-10-06 16:54:34 +0200 |
| commit | 67ecc7d2cd0f27986ec11fc9b7ef1279af294427 (patch) | |
| tree | 87374b246ac08d7365b732037c5ff70f927fca68 /include/cairo_util.h | |
| parent | 0de35b3585f32951a7a7e6c2b1d8673b78cccefd (diff) | |
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.
(cherry picked from commit c90cb37b2a0861548461daa9b75d75317e01b679)
Diffstat (limited to 'include/cairo_util.h')
0 files changed, 0 insertions, 0 deletions
