more safety around shutting down and mouse movements
This commit is contained in:
parent
10303259f7
commit
c6a3092b45
2 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue