summaryrefslogtreecommitdiff
path: root/src/backends/native
diff options
context:
space:
mode:
authorRobert Mader <robert.mader@posteo.de>2020-10-14 18:50:05 +0200
committerRobert Mader <robert.mader@posteo.de>2020-10-14 18:55:21 +0200
commitae0d48b6fd3aed3e75a25ef1f749c4620e2e3e57 (patch)
treea2582928bd7ab8fb57e8b8f6482cd358c9b028f9 /src/backends/native
parentdf65f05e276c145b87b6cdde1273a5793153bda4 (diff)
downloadmutter-ae0d48b6fd3aed3e75a25ef1f749c4620e2e3e57.tar.gz
wayland/subsurface: Only show subsurface if parent is mapped
The spec states: ``` A sub-surface becomes mapped, when a non-NULL wl_buffer is applied and the parent surface is mapped. The order of which one happens first is irrelevant. A sub-surface is hidden if the parent becomes hidden, or if a NULL wl_buffer is applied. These rules apply recursively through the tree of surfaces. ``` In the past we relied on Clutter actor behaviour to realize the recursive part - which then broke in https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/664 when we changed the actor hierachy in regards to subsurfaces. Explicitly encode the desired behaviour in `MetaWaylandSubsurface`, fixing the issue and making it future proof. Closes https://gitlab.gnome.org/GNOME/mutter/-/issues/1384
Diffstat (limited to 'src/backends/native')
0 files changed, 0 insertions, 0 deletions