summaryrefslogtreecommitdiff
path: root/src/desktop/view/Window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/view/Window.hpp')
-rw-r--r--src/desktop/view/Window.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/desktop/view/Window.hpp b/src/desktop/view/Window.hpp
index 2a3d6563..f69585e3 100644
--- a/src/desktop/view/Window.hpp
+++ b/src/desktop/view/Window.hpp
@@ -188,6 +188,10 @@ namespace Desktop::View {
PHLANIMVAR<float> m_borderFadeAnimationProgress;
PHLANIMVAR<float> m_borderAngleAnimationProgress;
+ // Cached border size (invalidated by updateWindowData)
+ mutable int m_cachedBorderSize = -1;
+ mutable bool m_borderSizeCacheDirty = true;
+
// Fade in-out
PHLANIMVAR<float> m_alpha;
bool m_fadingOut = false;