mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
80ea52910a
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
(cherry picked from commit
|
||
---|---|---|
.. | ||
desktop.c | ||
idle_inhibit_v1.c | ||
launcher.c | ||
layer_shell.c | ||
output.c | ||
render.c | ||
surface.c | ||
transaction.c | ||
xdg_shell.c | ||
xwayland.c |