Skip to content
Commit 7335d542 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix mapped status tracking for subsurfaces

A subsurface should be considered mapped only if it has a buffer
attached and its parent is also mapped.

Currently, mapped status logic in SurfaceInterface is somewhat broken
for sub-surfaces. For example, the mapped() signal will be emitted even
if the sub-surface should be considered unmapped according to the spec.
parent 0fcc4af4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment