diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index ce61a665..31ccc478 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -270,11 +270,6 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { } } else { pFoundWindow = g_pCompositor->vectorToWindowIdeal(mouseCoords); - - // TODO: this causes crashes, sometimes. ??? - // if (refocus && !pFoundWindow) { - // pFoundWindow = g_pCompositor->getFirstWindowOnWorkspace(PMONITOR->activeWorkspace); - // } } if (pFoundWindow) {