From 2a04d926972461d26a57fd1af905c6ad6d4a8174 Mon Sep 17 00:00:00 2001 From: Maximilian Seidler Date: Fri, 15 Mar 2024 14:43:08 +0100 Subject: [PATCH] core: disable input once fade out started --- src/core/hyprlock.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/hyprlock.cpp b/src/core/hyprlock.cpp index 2f17438..13bc380 100644 --- a/src/core/hyprlock.cpp +++ b/src/core/hyprlock.cpp @@ -745,6 +745,9 @@ std::optional CHyprlock::passwordLastFailReason() { } void CHyprlock::onKey(uint32_t key, bool down) { + if (m_bFadeStarted) + return; + if (down && std::chrono::system_clock::now() < m_tGraceEnds) { unlock(); return;