aboutsummaryrefslogtreecommitdiff
path: root/include/pool-buffer.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2025-05-26 14:19:17 +0200
committerFurkan Sahin <furkan-dev@proton.me>2025-05-26 14:19:17 +0200
commitd2ef57e60c89c7cb3c652a932de37fd560b9addd (patch)
treedc9e4e8671983a8072cd3e978c8434f4028da82f /include/pool-buffer.h
parenta0533257b4ccab1b4c4f2c52e1dda9e959c720cf (diff)
sway/tree: Simplify sway_node teardown
A sway_node may end up being referenced in either a queued transaction, pending transaction or as a dirty node. To manage this, the transaction system has been responsible for destroying containers, workspaces and outputs at the end of their last referenced transaction. This significantly complicates the teardown flow of surfaces and outputs. Instead, remove the node from transactions and dirty lists so that the callsite can remove and free the node immediately.
Diffstat (limited to 'include/pool-buffer.h')
0 files changed, 0 insertions, 0 deletions