diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-06-17 12:42:32 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-06-17 12:42:39 +0200 |
| commit | 1360677478e867034713e5d43d7a8a8f6bf1343d (patch) | |
| tree | 27bd309676fcb1391e712a10ddd399687abeeddc /src/protocols/core/Subcompositor.hpp | |
| parent | 14ab0ecc5eb3c437dd62f92629fc29e33679043b (diff) | |
subcompositor/renderer: fixup handling of subsurfaces below the main one
some apps (notably vlc 4) place a subsurface below the main surface (which is kinda cursed) but we have to accomodate for that
Diffstat (limited to 'src/protocols/core/Subcompositor.hpp')
| -rw-r--r-- | src/protocols/core/Subcompositor.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/core/Subcompositor.hpp b/src/protocols/core/Subcompositor.hpp index abcfbf6d..824f0ffc 100644 --- a/src/protocols/core/Subcompositor.hpp +++ b/src/protocols/core/Subcompositor.hpp @@ -35,6 +35,8 @@ class CWLSubsurfaceResource : public ISurfaceRole { WP<CWLSubsurfaceResource> self; + int zIndex = 1; // by default, it's above + struct { CSignal destroy; } events; |
