summaryrefslogtreecommitdiff
path: root/src/helpers
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-06-17 12:42:32 +0200
committerVaxry <vaxry@vaxry.net>2024-06-17 12:42:39 +0200
commit1360677478e867034713e5d43d7a8a8f6bf1343d (patch)
tree27bd309676fcb1391e712a10ddd399687abeeddc /src/helpers
parent14ab0ecc5eb3c437dd62f92629fc29e33679043b (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.hpp3
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 {