input: remove old redundant code

This commit is contained in:
vaxerski 2023-07-05 13:20:36 +02:00
parent 34d845da13
commit 86e487e003

View file

@ -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) {