From c6a3092b45da325ee41e39a76fd527d04580a65e Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 24 Oct 2022 00:14:42 +0100 Subject: more safety around shutting down and mouse movements --- src/managers/input/InputManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/managers/input/InputManager.cpp') diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 9201da24..64963041 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -39,7 +39,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { m_pFoundLSToFocus = nullptr; m_pFoundWindowToFocus = nullptr; - if (!g_pCompositor->m_bReadyToProcess) + if (!g_pCompositor->m_bReadyToProcess || g_pCompositor->m_bIsShuttingDown) return; if (!g_pCompositor->m_sSeat.mouse) { -- cgit v1.2.3