summaryrefslogtreecommitdiff
path: root/include/ipc-client.h
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-10-02 15:55:17 +0200
committerSimon Ser <contact@emersion.fr>2024-10-06 16:54:34 +0200
commit67ecc7d2cd0f27986ec11fc9b7ef1279af294427 (patch)
tree87374b246ac08d7365b732037c5ff70f927fca68 /include/ipc-client.h
parent0de35b3585f32951a7a7e6c2b1d8673b78cccefd (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/ipc-client.h')
0 files changed, 0 insertions, 0 deletions