From 412c7dc7f79cb6b04af41692504e82d4417e6e13 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 11 Jun 2025 17:52:16 +0200 Subject: renderer: fixup some missing fadeout cases with special fixes some fadeout missing cases: - closing last window - closing above fs - closing in general fixes #10283 --- src/helpers/Monitor.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/helpers/Monitor.hpp') diff --git a/src/helpers/Monitor.hpp b/src/helpers/Monitor.hpp index e495cf04..4dc4ad88 100644 --- a/src/helpers/Monitor.hpp +++ b/src/helpers/Monitor.hpp @@ -7,6 +7,7 @@ #include "MiscFunctions.hpp" #include "WLClasses.hpp" #include +#include "AnimatedVariable.hpp" #include #include "time/Timer.hpp" @@ -161,6 +162,9 @@ class CMonitor { PHLWINDOWREF m_lastScanout; bool m_scanoutNeedsCursorUpdate = false; + // for special fade/blur + PHLANIMVAR m_specialFade; + struct { bool canTear = false; bool nextRenderTorn = false; -- cgit v1.2.3