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/Touch.cpp | |
| parent | 2d6ca96e07d1c1d1edc7694d93405ed800e6f7a6 (diff) | |
layerrules: fix abovelock interactivity for touch input (#10253)
Diffstat (limited to 'src/managers/input/Touch.cpp')
| -rw-r--r-- | src/managers/input/Touch.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/input/Touch.cpp b/src/managers/input/Touch.cpp index 83447593..4a67d2f2 100644 --- a/src/managers/input/Touch.cpp +++ b/src/managers/input/Touch.cpp @@ -61,7 +61,8 @@ void CInputManager::onTouchDown(ITouch::SDownEvent e) { } } - if (g_pSessionLockManager->isSessionLocked()) { + // could have abovelock surface, thus only use lock if no ls found + if (g_pSessionLockManager->isSessionLocked() && m_foundLSToFocus.expired()) { m_touchData.touchFocusLockSurface = g_pSessionLockManager->getSessionLockSurfaceForMonitor(PMONITOR->m_id); if (!m_touchData.touchFocusLockSurface) Debug::log(WARN, "The session is locked but can't find a lock surface"); |
