swayfx/sway/desktop
Ryan Dwyer 834805f5e2 Fix crash when disconnecting output
We were freeing the sway_output immediately upon disconnect which left
a dangling pointer in the output's container. It then tried to use the
pointer when the container is freed.

We don't need to store the sway_output in an output's container which is
destroying, so the fix is to set the pointer to NULL and remove the use
in container_free.

Also added an arrange when the output is disconnected for good measure.
2018-06-26 19:40:42 +10:00
..
desktop.c Make main properties be the pending state 2018-06-09 10:08:43 +10:00
layer_shell.c Refactor everything that needs to arrange windows 2018-06-09 10:11:25 +10:00
output.c Fix crash when disconnecting output 2018-06-26 19:40:42 +10:00
transaction.c Remove timer when transaction destroys 2018-06-26 18:51:37 +10:00
xdg_shell.c Damage output when views toggle fullscreen 2018-06-26 14:24:15 +10:00
xdg_shell_v6.c Damage output when views toggle fullscreen 2018-06-26 14:24:15 +10:00
xwayland.c Damage output when views toggle fullscreen 2018-06-26 14:24:15 +10:00