summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-06-11 17:52:16 +0200
committerVaxry <vaxry@vaxry.net>2025-06-11 17:52:23 +0200
commit412c7dc7f79cb6b04af41692504e82d4417e6e13 (patch)
tree6515bfadb5fbaae3365a9fc2ffedcab05f8277c3 /src/helpers/Monitor.hpp
parent8329de1ab530782aa3e45228632fce3b46fbf183 (diff)
renderer: fixup some missing fadeout cases with special
fixes some fadeout missing cases: - closing last window - closing above fs - closing in general fixes #10283
Diffstat (limited to 'src/helpers/Monitor.hpp')
-rw-r--r--src/helpers/Monitor.hpp4
1 files changed, 4 insertions, 0 deletions
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 <array>
+#include "AnimatedVariable.hpp"
#include <xf86drmMode.h>
#include "time/Timer.hpp"
@@ -161,6 +162,9 @@ class CMonitor {
PHLWINDOWREF m_lastScanout;
bool m_scanoutNeedsCursorUpdate = false;
+ // for special fade/blur
+ PHLANIMVAR<float> m_specialFade;
+
struct {
bool canTear = false;
bool nextRenderTorn = false;