diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 9b7e12dc098..9928936f4ac 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -1392,7 +1392,6 @@ void CInputManager::refocusLastWindow(CMonitor* pMonitor) { SP foundSurface = nullptr; g_pInputManager->releaseAllMouseButtons(); - g_pCompositor->m_pLastFocus.reset(); // first try for an exclusive layer if (!m_dExclusiveLSes.empty())