diff options
author | Epilepsy Gatherings <[email protected]> | 2024-01-19 09:45:51 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-19 15:45:51 +0100 |
commit | 9f20a15955697b0f52740c1e0180acdafa071f79 (patch) | |
tree | 8a5165be458875af257aea2ae600cb41027831e3 | |
parent | c4365f20ed8ff0dd480b7ed7cf1bfff1a0b6911a (diff) | |
download | Hyprland-9f20a15955697b0f52740c1e0180acdafa071f79.tar.gz Hyprland-9f20a15955697b0f52740c1e0180acdafa071f79.zip |
input: remove animate checks on resize limiter (#4480)
-rw-r--r-- | src/layout/IHyprLayout.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 2a8fdf53..705f48cf 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -314,8 +314,7 @@ void IHyprLayout::onMouseMove(const Vector2D& mousePos) { if ((abs(TICKDELTA.x) < 1.f && abs(TICKDELTA.y) < 1.f) || (std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now() - TIMER).count() < - 1000.0 / g_pHyprRenderer->m_pMostHzMonitor->refreshRate && - (*PANIMATEMOUSE || *PANIMATE))) + 1000.0 / g_pHyprRenderer->m_pMostHzMonitor->refreshRate)) return; TIMER = std::chrono::high_resolution_clock::now(); |