diff options
author | Maximilian Seidler <[email protected]> | 2024-03-15 17:17:13 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-15 16:17:13 +0000 |
commit | a958884b5259ec5d6a2c97078b373c722ae20c39 (patch) | |
tree | 63d68faee163ee320098e1d13057490704bbe0e6 /src/render/Renderer.hpp | |
parent | bb933dcf04ff1daafbc9681c87b87d7e907ae7bd (diff) | |
download | Hyprland-a958884b5259ec5d6a2c97078b373c722ae20c39.tar.gz Hyprland-a958884b5259ec5d6a2c97078b373c722ae20c39.zip |
lock: fix red screen issues with multiple monitors (#5100)
* lock: use uint64_t for iMonitorID
* lock: move activateLock to onNewSessionLock
* lock: add red screen fade
* lock: damage when fading the red screen and delay for screencopy
* lock: remove redundant scheduleFrameForMonitor
Diffstat (limited to 'src/render/Renderer.hpp')
-rw-r--r-- | src/render/Renderer.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.hpp b/src/render/Renderer.hpp index 53cace82..e480b26d 100644 --- a/src/render/Renderer.hpp +++ b/src/render/Renderer.hpp @@ -59,7 +59,7 @@ class CHyprRenderer { void setCursorHidden(bool hide); void calculateUVForSurface(CWindow*, wlr_surface*, bool main = false, const Vector2D& projSize = {}, bool fixMisalignedFSV1 = false); std::tuple<float, float, float> getRenderTimes(CMonitor* pMonitor); // avg max min - void renderLockscreen(CMonitor* pMonitor, timespec* now); + void renderLockscreen(CMonitor* pMonitor, timespec* now, const CBox& geometry); void setOccludedForBackLayers(CRegion& region, CWorkspace* pWorkspace); void setOccludedForMainWorkspace(CRegion& region, CWorkspace* pWorkspace); // TODO: merge occlusion methods bool canSkipBackBufferClear(CMonitor* pMonitor); |