summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-12 13:40:55 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-12 13:40:55 +0200
commita4f82491b7e825255253a1fbea509e823b73115b (patch)
treec805773577cc214f7d2d6afad313d191b04a0aa0 /src/Window.hpp
parentda83ef7b96fdee7396382712f9f2115ef4664666 (diff)
active opacity is now animated
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index 2e236322..3bef02b1 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -106,6 +106,9 @@ public:
SWindowSpecialRenderData m_sSpecialRenderData;
SWindowAdditionalConfigData m_sAdditionalConfigData;
+ // for alpha
+ CAnimatedVariable m_fActiveInactiveAlpha;
+
// For the list lookup
bool operator==(const CWindow& rhs) {
return m_uSurface.xdg == rhs.m_uSurface.xdg && m_uSurface.xwayland == rhs.m_uSurface.xwayland && m_vPosition == rhs.m_vPosition && m_vSize == rhs.m_vSize && m_bFadingOut == rhs.m_bFadingOut;