diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-30 16:32:05 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-30 16:34:09 +0100 |
| commit | 90e1411315065ead5b5a7873be4109bdfb9f5470 (patch) | |
| tree | 3e55d49559d1e77ae655a7c5ea4d4d73f8054180 /src/managers/input/InputManager.cpp | |
| parent | d7a48cf47816041c5cb705c9de218c3395635822 (diff) | |
session-lock: move to new impl
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 72c1772c..ca1597b1 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -9,6 +9,7 @@ #include "../../protocols/RelativePointer.hpp" #include "../../protocols/PointerConstraints.hpp" #include "../../protocols/IdleNotify.hpp" +#include "../../protocols/SessionLock.hpp" CInputManager::CInputManager() { m_sListeners.setCursorShape = PROTO::cursorShape->events.setShape.registerListener([this](std::any data) { @@ -236,7 +237,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { if (!PSLS) return; - foundSurface = PSLS->pWlrLockSurface->surface; + foundSurface = PSLS->surface.lock()->surface(); surfacePos = PMONITOR->vecPosition; } |
