summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-07-05 13:20:36 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-07-05 13:20:40 +0200
commit86e487e003490195f88b8deaf2b1f4baa75b0058 (patch)
treeb360412ff4a6154d471ebf1442fa312be60d41cc /src/managers/input/InputManager.cpp
parent34d845da13711ffdc4fdd5409f36dcc7e79fd676 (diff)
input: remove old redundant code
Diffstat (limited to 'src/managers/input/InputManager.cpp')
-rw-r--r--src/managers/input/InputManager.cpp5
1 files changed, 0 insertions, 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) {