swayfx/sway/tree
Ryan Dwyer 4e4898e90f Fix race condition crash when view unmaps + maps quickly
When a view unmaps, we start a transaction to destroy the container,
then when the transaction completes we destroy the container and unset
the view's container pointer. But if the view has remapped in the
meantime, the view's container pointer will be pointing to a different
container which should not be cleared.

This adds a check to make sure the view is still pointing to the
container being destroyed before clearing the pointer. The freeing of
the title format is also removed as it is already freed when the view
destroys in view_destroy.
2018-09-26 21:33:54 +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 double iteration of scratchpad containers 2018-09-18 21:53:02 +10:00
view.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
workspace.c Prevent sticky containers from jumping on workspace switch 2018-09-23 11:36:16 +10:00