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/helpers | |
| 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/helpers')
| -rw-r--r-- | src/helpers/WLClasses.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp index 247aa8f0..bcd6bf10 100644 --- a/src/helpers/WLClasses.hpp +++ b/src/helpers/WLClasses.hpp @@ -51,6 +51,9 @@ struct SRenderData { PHLWINDOW pWindow; bool popup = false; + + // counts how many surfaces this pass has rendered + int surfaceCounter = 0; }; struct SSwipeGesture { |
