active opacity is now animated

This commit is contained in:
vaxerski 2022-07-12 13:40:55 +02:00
parent da83ef7b96
commit a4f82491b7
7 changed files with 46 additions and 11 deletions

View file

@ -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;