May 28, 2026
11:29 p.m.
The key point here though is that the main property we care about for "is_root"/"is_implicit" is whether the surface was directly created by the application, or internally by ddraw.
Yes, this is the key point why I added an extra flag. Even before the change 'is_root' wasn't actually meaning 'root of attachment tree': one could attach Z buffer which is 'is_root' to primary surface. 'is_root' was only meaning a 'root' of complex surface. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10992#note_141625