On 2022-11-07 10:27, Pekka Paalanen wrote: > On Sat, 5 Nov 2022 16:14:44 -0700 > Joel Winarske <joel.winar...@gmail.com> wrote: > >> Does the base surface ever get occluded? > > Anything could be occluded or off-screen at any time. > > However, if parent surface is completely occluded/off-screen, then that > should not freeze any of its sub-surfaces that are visible, even if > they are in synchronized mode. So I think the implication of that is > that if any sub-surface is visible, then the parent surface should be > reporting frame callbacks and do everything else as if it was visible > too. > > A good question, I wonder if anyone tests compositors for that... > > I'm not sure if even Weston handles that correctly. > > This is not explicitly mandated by the protocol specification IIRC, it's > more about compositors doing what would look right to an end user.
There's https://gitlab.freedesktop.org/wayland/wayland/-/issues/266 about this. -- Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and Xwayland developer