diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-24 00:14:42 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-24 00:14:42 +0100 |
| commit | c6a3092b45da325ee41e39a76fd527d04580a65e (patch) | |
| tree | 914f55896afb70c79efaf1a3f7b629ffaa696adf /src/managers/input/InputManager.cpp | |
| parent | 10303259f7c6f3e64e74e9ca8a31d4223071d5f0 (diff) | |
more safety around shutting down and mouse movements
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
