input: do not process mouse in unsafe state
This commit is contained in:
parent
ac2f1a9c30
commit
3859607b6c
1 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
|
||||||
CWindow* pFoundWindow = nullptr;
|
CWindow* pFoundWindow = nullptr;
|
||||||
SLayerSurface* pFoundLayerSurface = nullptr;
|
SLayerSurface* pFoundLayerSurface = nullptr;
|
||||||
|
|
||||||
if (!g_pCompositor->m_bReadyToProcess || g_pCompositor->m_bIsShuttingDown)
|
if (!g_pCompositor->m_bReadyToProcess || g_pCompositor->m_bIsShuttingDown || g_pCompositor->m_bUnsafeState)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!g_pCompositor->m_bDPMSStateON && *PMOUSEDPMS) {
|
if (!g_pCompositor->m_bDPMSStateON && *PMOUSEDPMS) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue