From 7fbe05a250fb81b4a9cd531460b72b038f37e88f Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 15 May 2024 16:22:45 +0100 Subject: [PATCH] inputmgr: send pointer motion on ffm != 1 fixes #6077 --- src/managers/input/InputManager.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 {