mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
Carlos Garnacho
69ca584168
wayland: Handle get_subsurface() with a role-less parent surface
The order of role creation is undetermined, so we can't account that the parent surface will have a role (and an actor) at the time of creating the wl_subsurface role for a child surface. So we must do it both ways, add the subsurface as a child on get_subsurface() if the parent already got a role, and lazily add child subsurface actors to the current one if the parent surface got it at a later point. Related: #132
…
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%