summaryrefslogtreecommitdiff
path: root/src/desktop/Window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r--src/desktop/Window.hpp8
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;