swayfx/sway/tree
Kenny Levinsen 1a6471be17 view: Set parent for view_child subsurfaces on init
view_child_init was calling view_init_subsurfaces, which did not set the
parent attribute for the subchildren. This lead to the subchildren
acting as standalone children. If the parent was an xdg_popup, this
would make the subchild unaware of the popup position.

Introduce view_child_init_subsurfaces for view_child_init to use
instead.

Closes: https://github.com/swaywm/sway/issues/6038
2021-02-23 00:17:32 +01:00
..
arrange.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
container.c container: Add container_is_current_floating 2021-02-22 23:55:22 +01:00
node.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
output.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
root.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00
view.c view: Set parent for view_child subsurfaces on init 2021-02-23 00:17:32 +01:00
workspace.c container: Move pending state to state struct 2021-02-16 22:05:00 -05:00