diff options
| author | s1dd <140317709+nots1dd@users.noreply.github.com> | 2025-05-09 00:31:49 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-08 21:01:49 +0200 |
| commit | f01e3043b81d1ad7d886f0502b445bdf3cea0ccc (patch) | |
| tree | f67ac13301e9c3a08175dba521198e9ff3c7737f /src/desktop/Window.hpp | |
| parent | 04c98abd1fe7f3d63c6060ea175e0a5cd9cd9947 (diff) | |
desktop: cleanup code and use std::ranges (#10289)
Diffstat (limited to 'src/desktop/Window.hpp')
| -rw-r--r-- | src/desktop/Window.hpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp index abc2747f..47d28db2 100644 --- a/src/desktop/Window.hpp +++ b/src/desktop/Window.hpp @@ -6,8 +6,6 @@ #include "../config/ConfigDataValues.hpp" #include "../helpers/AnimatedVariable.hpp" -#include "../helpers/math/Math.hpp" -#include "../helpers/signal/Signal.hpp" #include "../helpers/TagKeeper.hpp" #include "../macros.hpp" #include "../managers/XWaylandManager.hpp" @@ -79,9 +77,9 @@ struct SAlphaValue { }; struct SWindowData { - CWindowOverridableVar<SAlphaValue> alpha = SAlphaValue{1.f, false}; - CWindowOverridableVar<SAlphaValue> alphaInactive = SAlphaValue{1.f, false}; - CWindowOverridableVar<SAlphaValue> alphaFullscreen = SAlphaValue{1.f, false}; + CWindowOverridableVar<SAlphaValue> alpha = SAlphaValue{.alpha = 1.f, .overridden = false}; + CWindowOverridableVar<SAlphaValue> alphaInactive = SAlphaValue{.alpha = 1.f, .overridden = false}; + CWindowOverridableVar<SAlphaValue> alphaFullscreen = SAlphaValue{.alpha = 1.f, .overridden = false}; CWindowOverridableVar<bool> allowsInput = false; CWindowOverridableVar<bool> dimAround = false; |
