mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
Revert "sway/tree: Simplify sway_node teardown"
This reverts commit e28e6484e8.
This change tried to remove nodes from all points of reference to allow
immediate destruction. However, it missed things like the children lists
cloned by transaction states of parent nodes.
Adding all that extra cleanup would not be in the spirit of a PR
claiming to simplify teardown. Let's wait for someone to come up with a
cleaner approach instead.
Fixes: https://github.com/swaywm/sway/pull/8738
This commit is contained in:
parent
4f30c3baa8
commit
6faa133305
16 changed files with 149 additions and 125 deletions
|
|
@ -84,6 +84,8 @@ struct sway_output *output_create(struct wlr_output *wlr_output);
|
|||
|
||||
void output_destroy(struct sway_output *output);
|
||||
|
||||
void output_begin_destroy(struct sway_output *output);
|
||||
|
||||
struct sway_output *output_from_wlr_output(struct wlr_output *output);
|
||||
|
||||
struct sway_output *output_get_in_direction(struct sway_output *reference,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue