summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-05-15 16:22:45 +0100
committerVaxry <vaxry@vaxry.net>2024-05-15 16:22:45 +0100
commit7fbe05a250fb81b4a9cd531460b72b038f37e88f (patch)
treea916a2f55884edb367b810bd7f097aeaf1429224 /src/managers/input/InputManager.cpp
parent31890026ea9f3ce75dbcfdf060239fc8aa6c144c (diff)
inputmgr: send pointer motion on ffm != 1
fixes #6077
Diffstat (limited to 'src/managers/input/InputManager.cpp')
-rw-r--r--src/managers/input/InputManager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp
index d74657d9..02072229 100644
--- a/src/managers/input/InputManager.cpp
+++ b/src/managers/input/InputManager.cpp
@@ -471,6 +471,9 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
if (FOLLOWMOUSE != 0 || pFoundWindow == g_pCompositor->m_pLastWindow)
g_pSeatManager->setPointerFocus(foundSurface, surfaceLocal);
+ if (g_pSeatManager->state.pointerFocus == foundSurface)
+ g_pSeatManager->sendPointerMotion(time, surfaceLocal);
+
m_bLastFocusOnLS = false;
return; // don't enter any new surfaces
} else {