diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-10-26 22:21:13 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-10-26 22:21:13 +0100 |
| commit | 47256a6ed8fb486fd351834c85235a0672d69abc (patch) | |
| tree | 94b3ded5bd0d8ff3faffe884bdea2e8fdc2625e8 /src/managers/input/InputManager.cpp | |
| parent | 732b0584890bae87ab079aaa95b5b2b822b99d49 (diff) | |
input: remove incorrect check in re-enter
fixes #3659
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index d2cb27b8..1e8760aa 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -379,11 +379,8 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { } if (pFoundWindow == g_pCompositor->m_pLastWindow) { - if (foundSurface != g_pCompositor->m_pLastFocus || m_bLastFocusOnLS) { - // ^^^ changed the subsurface ^^^ came back from a LS - m_pLastMouseSurface = foundSurface; - wlr_seat_pointer_notify_enter(g_pCompositor->m_sSeat.seat, foundSurface, surfaceLocal.x, surfaceLocal.y); - } + m_pLastMouseSurface = foundSurface; + wlr_seat_pointer_notify_enter(g_pCompositor->m_sSeat.seat, foundSurface, surfaceLocal.x, surfaceLocal.y); } if (FOLLOWMOUSE != 0 || pFoundWindow == g_pCompositor->m_pLastWindow) |
