scene/workspacescene: fix direct scanout checks with subsurfaces

The check ignored that subsurfaces could be not visible, not mapped, and also below the parent surface

(cherry picked from commit 9c2035ca)

Merge request reports

Loading