aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-12-06 15:47:24 -0500
committerSimon Ser <contact@emersion.fr>2023-12-13 18:10:03 +0100
commitbbabb9aae8d7b7771d02489b6f20301cf1c090c9 (patch)
tree4f012efa2b612cf580c58596a173520eeb17c40d /sway/ipc-server.c
parentc6edbb7e5a3e10b4f86a3bee215de5f4c7021674 (diff)
output: Destroy when output layout is destroyed
Since output layout is destroyed when the wayland display is destroyed we run into a destroy listener order problem: Either the display starts destroying the outputs first, in which case we're good: The existing handling will clean up. However, things go wrong if the display decides to destroy the output layout first. In this case, sway will hold invalid references to the output layout as part of each output so that when it finally goes to destroy them, sway will dereference destroyed output layout bits. Ref: https://github.com/swaywm/sway/pull/6844#issuecomment-1843599513
Diffstat (limited to 'sway/ipc-server.c')
0 files changed, 0 insertions, 0 deletions