mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 22:22:00 -07:00
renderer: fixup some missing fadeout cases with special
fixes some fadeout missing cases: - closing last window - closing above fs - closing in general fixes #10283
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user