diff options
| author | Virt <41426325+VirtCode@users.noreply.github.com> | 2025-05-03 16:07:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-03 16:07:02 +0200 |
| commit | cdf5736f1a5e6cc1c3bb8fd50501ab17189725ea (patch) | |
| tree | 84685b9810622ca0bac4c9f5ecc58bd803f80405 /src/managers/input/InputManager.cpp | |
| parent | 2d6ca96e07d1c1d1edc7694d93405ed800e6f7a6 (diff) | |
layerrules: fix abovelock interactivity for touch input (#10253)
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index c48ca908..f2954c84 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -270,6 +270,12 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus, bool mouse) { foundSurface = foundLockSurface; } + if (refocus) { + m_foundLSToFocus = pFoundLayerSurface; + m_foundWindowToFocus = pFoundWindow; + m_foundSurfaceToFocus = foundSurface; + } + g_pSeatManager->setPointerFocus(foundSurface, surfaceCoords); g_pSeatManager->sendPointerMotion(time, surfaceCoords); |
