Skip to content

surface: add WLR_SURFACE_STATE_SUBSURFACES

Simon Ser requested to merge github/fork/emersion/subsurfaces-state-flag into master

This allows to figure out when the subsurface list has changed: subsurface added, removed, or re-ordered. In the case where the subsurface list hasn't changed, some book-keeping operations can be skipped.

Useful for https://github.com/swaywm/wlroots/pull/3128

cc @vyivel

Edited by Kirill Primak

Merge request reports