diff options
| author | Epilepsy Gatherings <73647246+phonetic112@users.noreply.github.com> | 2024-01-19 09:45:51 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-19 15:45:51 +0100 |
| commit | 9f20a15955697b0f52740c1e0180acdafa071f79 (patch) | |
| tree | 8a5165be458875af257aea2ae600cb41027831e3 /src/layout/IHyprLayout.cpp | |
| parent | c4365f20ed8ff0dd480b7ed7cf1bfff1a0b6911a (diff) | |
input: remove animate checks on resize limiter (#4480)
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
| -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(); |
