swayfx/sway/tree
Ryan Dwyer 24bcb507ec Fix hotplugging down to zero outputs
When the last output is disconnected, output_disable is called like
usual and evacuates the output to the root->saved_workspaces list. It
then calls root_for_each_container to remove (untrack) the output from
each container's outputs list. However root_for_each_container did not
iterate the saved workspaces, so when the output gets freed the
containers would have a dangling pointer in their outputs list. Upon
reconnect, container_discover_outputs would attempt to use the dangling
pointer, causing a crash.

This makes root_for_each_container check the saved workspaces list,
which fixes the problem.
2018-09-30 11:58:56 +10:00
..
arrange.c Prevent sticky containers from jumping on workspace switch 2018-09-23 11:36:16 +10:00
container.c Fix race condition crash when view unmaps + maps quickly 2018-09-26 21:33:54 +10:00
node.c ipc: handle NULL cases for node_get_output 2018-09-15 09:42:49 +01:00
output.c swaybar: handle hotplugging 2018-09-20 18:37:51 +02:00
root.c Fix hotplugging down to zero outputs 2018-09-30 11:58:56 +10:00
view.c Fix floating views in tabbed/stacked workspaces not getting frame events 2018-09-28 17:02:35 +10:00
workspace.c Check for NULL output in workspace_valid_on_output 2018-09-28 22:35:38 +10:00