diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-02-19 18:33:20 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-23 00:17:32 +0100 |
commit | 1a6471be172fc2da75bbc5b7e6e3b3c99dbafc51 (patch) | |
tree | e0df8a62fe2034f6e54fba645d897d94ef04b9e4 /sway/xdg_decoration.c | |
parent | 79e43b19d795d68a3916a19d9afadc4ccbb7d4db (diff) |
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
Diffstat (limited to 'sway/xdg_decoration.c')
0 files changed, 0 insertions, 0 deletions