summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
diff options
context:
space:
mode:
authorVirt <41426325+VirtCode@users.noreply.github.com>2025-05-03 16:07:02 +0200
committerGitHub <noreply@github.com>2025-05-03 16:07:02 +0200
commitcdf5736f1a5e6cc1c3bb8fd50501ab17189725ea (patch)
tree84685b9810622ca0bac4c9f5ecc58bd803f80405 /src/managers/input/InputManager.cpp
parent2d6ca96e07d1c1d1edc7694d93405ed800e6f7a6 (diff)
layerrules: fix abovelock interactivity for touch input (#10253)
Diffstat (limited to 'src/managers/input/InputManager.cpp')
-rw-r--r--src/managers/input/InputManager.cpp6
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);