summaryrefslogtreecommitdiff
path: root/src/desktop/Window.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-08-28 21:54:49 +0200
committerVaxry <vaxry@vaxry.net>2024-08-28 21:54:49 +0200
commitb9b8e6220f55af34e862b541a5a4b30ae6d8f15f (patch)
treea9adf95c9adba48714bf1f3c2acb857f35e0cfa4 /src/desktop/Window.hpp
parenta95df6b57e68785c13fd2d7f93d9eba28b9406ed (diff)
renderer: fade out windows on silent moves
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r--src/desktop/Window.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp
index e1850fb3..bdc275bf 100644
--- a/src/desktop/Window.hpp
+++ b/src/desktop/Window.hpp
@@ -352,6 +352,10 @@ class CWindow {
// animated tint
CAnimatedVariable<float> m_fDimPercent;
+ // animate moving to an invisible workspace
+ int m_iMonitorMovedFrom = -1; // -1 means not moving
+ CAnimatedVariable<float> m_fMovingToWorkspaceAlpha;
+
// swallowing
PHLWINDOWREF m_pSwallowed;