summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-03 12:03:18 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-03 12:03:18 +0200
commitc779a7c03bef72aff78c14a29f5ba106de50b8d6 (patch)
treebec90adb6e4d758f91ab0f246c07b34d87b497a6 /src/managers/input/InputManager.cpp
parent179e5188a4b0a4a78799cf47891afc91b61ca0be (diff)
move refocus on only unmap
Diffstat (limited to 'src/managers/input/InputManager.cpp')
-rw-r--r--src/managers/input/InputManager.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp
index 8dbff347..d0783533 100644
--- a/src/managers/input/InputManager.cpp
+++ b/src/managers/input/InputManager.cpp
@@ -183,9 +183,6 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
} else
pFoundWindow = g_pCompositor->vectorToWindowIdeal(mouseCoords);
- if (!pFoundWindow && refocus)
- pFoundWindow = g_pCompositor->getFirstWindowOnWorkspace(PWORKSPACE->m_iID);
-
if (pFoundWindow) {
if (!pFoundWindow->m_bIsX11) {
foundSurface = g_pCompositor->vectorWindowToSurface(mouseCoords, pFoundWindow, surfaceCoords);