From a4f82491b7e825255253a1fbea509e823b73115b Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 12 Jul 2022 13:40:55 +0200 Subject: active opacity is now animated --- src/Window.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Window.hpp') 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; -- cgit v1.2.3