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:
parent
8329de1ab5
commit
412c7dc7f7
4 changed files with 47 additions and 29 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue