From dde3e082c96cd6987420556bfc430cd5b8e0980c Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Wed, 1 Jan 2025 15:34:02 -0800 Subject: protocols: add hyprland_surface_v1 implementation (#8877) --- src/desktop/WLSurface.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/desktop') 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 +}; -- cgit v1.2.3