From 86e487e003490195f88b8deaf2b1f4baa75b0058 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 5 Jul 2023 13:20:36 +0200 Subject: [PATCH] input: remove old redundant code --- src/managers/input/InputManager.cpp | 5 ----- 1 file changed, 5 deletions(-) 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) {