From 9f20a15955697b0f52740c1e0180acdafa071f79 Mon Sep 17 00:00:00 2001 From: Epilepsy Gatherings <73647246+phonetic112@users.noreply.github.com> Date: Fri, 19 Jan 2024 09:45:51 -0500 Subject: [PATCH] input: remove animate checks on resize limiter (#4480) --- src/layout/IHyprLayout.cpp | 3 +-- 1 file changed, 1 insertion(+), 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::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();