summaryrefslogtreecommitdiff
path: root/src/desktop
diff options
context:
space:
mode:
authoroutfoxxed <outfoxxed@outfoxxed.me>2025-01-01 15:34:02 -0800
committerGitHub <noreply@github.com>2025-01-01 23:34:02 +0000
commitdde3e082c96cd6987420556bfc430cd5b8e0980c (patch)
treeeb034fbc2fa747637758f09fc276887477633bfc /src/desktop
parent9f3c9ac01a9a6ecef74429dc9a1dea250ef43c50 (diff)
protocols: add hyprland_surface_v1 implementation (#8877)
Diffstat (limited to 'src/desktop')
-rw-r--r--src/desktop/WLSurface.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/desktop/WLSurface.hpp b/src/desktop/WLSurface.hpp
index a962b882..346fc935 100644
--- a/src/desktop/WLSurface.hpp
+++ b/src/desktop/WLSurface.hpp
@@ -86,6 +86,9 @@ class CWLSurface {
// used by the alpha-modifier protocol
float m_pAlphaModifier = 1.F;
+ // used by the hyprland-surface protocol
+ float m_fOverallOpacity = 1.F;
+
struct {
CSignal destroy;
} events;
@@ -116,4 +119,4 @@ class CWLSurface {
} listeners;
friend class CPointerConstraint;
-}; \ No newline at end of file
+};